Media Summary: If you're writing code that looks like User.all.reject(), you're doing it wrong. Don't worry though, we've all done it before. In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling ... In this episode, we look at what would seemingly be simple queries, but are more complex once you start looking into them.
Activerecord Anti Patterns For Fun - Detailed Analysis & Overview
If you're writing code that looks like User.all.reject(), you're doing it wrong. Don't worry though, we've all done it before. In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling ... In this episode, we look at what would seemingly be simple queries, but are more complex once you start looking into them. By Luismi Cavalle "Skinny controllers, fat models" is a well-known practice in the Rails community that everyone seems to follow. When designing a database for your Ruby on Rails application, what looks like the best solution can be a trap. Join us as we ... Go through the full Rails bootcamp here: ...
... model-view-controller stack so it takes it down to the model layer many Databases crash, connections drop, and queries timeout at the worst possible moments. Rather than writing custom rescue code ... For many new Rails developers, their first exposure to Rails (and often Ruby) is through As the size of our Rails applications grow, so does the complexity. We'll cover some common mistakes encountered in Rails and ... This is a presentation that I first gave at FISL 2012 and then gave again (with better audio and video) at the Liferay Symposium in ...