One Rails app recently generated loads of exceptions with “Security warning: an embedded <script> tag on another site requested protected JavaScript.” Once we understood the cause, it was easy to fix. CONTINUE …
One Rails app recently generated loads of exceptions with “Security warning: an embedded <script> tag on another site requested protected JavaScript.” Once we understood the cause, it was easy to fix. CONTINUE …
Transferring a small Rails application to a new server is no big deal. However, you have to be careful to not overlook anything. Here’s a checklist. CONTINUE …
Sometimes you have a form backed by a simple ActiveModel model with no persistence. But what if you want to use uploads in such a form, with validations and working across form redisplays? CONTINUE …
Why code that behaves differently from what it looks like at first glance is particularly nasty during upgrades. Bonus: A look at option hashes vs. keyword arguments in Ruby. CONTINUE …
How me made a Rails application use different SMTP credentials based on runtime context. CONTINUE …