Quantcast
Channel: Robby on Rails: Tag controllers
Browsing latest articles
Browse All 4 View Live

Put Your Controllers on a Diet already!

If you’re working with Ruby on Rails and are looking for ways to improve your existing code base, I would encourage you all to read the following blog posts.Skinny Controller, Fat Model, Jamis BuckFind...

View Article



RSpec: It Should Behave Like

I was going through an older project of ours and cleaning up some specs and noticed how often we were doing the same thing in several places. When we started the project, we didn’t get the benefits of...

View Article

Sending email: Controllers versus Models

While reviewing some code recently, I came across controller code that resembled the following.if@customer.saveCustomerMailer.deliver_welcome_message(@customer)flash[:message]="Your account has been...

View Article

Setting Akamai Edge-Control headers with Ruby on Rails

Just a short and sweet little tip.Several months ago we moved one of our clients over to Akamai’s Content Delivery Network (CDN). Ww were previously using a combination of Amazon S3 and CloudFront with...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images