homeASCIIcasts

Recent Episodes

  1. 22

    Eager Loading Other translations: It

    Improve the performance of your Rails application by reducing the number of database queries. Eager loading makes it easy.

    Tags: performance active-record

  2. 21

    Super Simple Authentication Other translations: It Es Pt Fr

    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

  3. 20

    Restricting Access Other translations: It Es Pt Fr

    Learn how to lock your site down and keep the public from accessing the administration features,

    Tags: administration security

  4. 19

    Where Administration Goes Other translations: It Es Fr

    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

  5. 18

    Looping Through Flash Other translations: It Es Fr

    Displaying flash messages can be a pain. This episode shows an easy way to display all of your flash messages.

    Tags: views

  6. 17

    HABTM Checkboxes Other translations: It Es Fr

    Create a list of checkboxes for easily managing a HABTM relationship.

    Tags: views forms

  7. 16

    Virtual Attributes Other translations: Cn It Es Fr

    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

  8. 15

    Fun With Find Conditions Other translations: It Es Fr

    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

  9. 14

    Performing Calculations On Models Other translations: It Es Fr

    ActiveRecord provides class methods for performing calculations on models. See how in this episode.

    Tags: active-record

  10. 13

    Dangers of Model in Session Other translations: It Es Fr

    Care must be taken when storing a model in a session as it can get out of sync with the database.

    Tags: controllers