Recent Episodes
-
22
Eager Loading Other translations:
Improve the performance of your Rails application by reducing the number of database queries. Eager loading makes it easy.
Tags: performance active-record
-
21
Super Simple Authentication Other translations:
Authentication is the final step of setting up administration on our site. There are many ways to do it, but we've taken a simple approach here.
Tags: administration
-
20
Restricting Access Other translations:
Learn how to lock your site down and keep the public from accessing the administration features,
Tags: administration security
-
19
Where Administration Goes Other translations:
Part one of a three part series on making an administration system for your site that doesn't require building a whole separate set of pages.
Tags: administration
-
18
Looping Through Flash Other translations:
Displaying flash messages can be a pain. This episode shows an easy way to display all of your flash messages.
Tags: views
-
17
HABTM Checkboxes Other translations:
Create a list of checkboxes for easily managing a HABTM relationship.
-
16
Virtual Attributes Other translations:
Keep your forms flexible by adding virtual attributes to your model. This powerful technique allows you to create form fields which may not directly relate to the database.
Tags: active-record forms
-
15
Fun With Find Conditions Other translations:
You can pass objects other than strings to find conditions, but care must be taken to ensure that the correct SQL is generated.
Tags: active-record
-
14
Performing Calculations On Models Other translations:
ActiveRecord provides class methods for performing calculations on models. See how in this episode.
Tags: active-record
-
13
Dangers of Model in Session Other translations:
Care must be taken when storing a model in a session as it can get out of sync with the database.
Tags: controllers
