homeASCIIcasts

Recent Episodes

  1. 8

    Layouts and content_for Other translations: It Es Fr

    content_for allows you to change your layouts on a per-template basis.

    Tags: views

  2. 7

    All About Layouts Other translations: It Es Fr

    Everything you ever wanted to know about layouts.

    Tags: views

  3. 6

    Shortcut Blocks with Symbol to_proc Other translations: It Es Fr

    The Symbol#to_proc feature in Rails allows you do do simple blocks quickly and easily.

    Tags: active-support

  4. 5

    Using with_scope Other translations: It Es Kr Fr

    Learn how to use with_scope - a very powerful method which will allow your custom find method to acceps any find options.

    Tags: active-record

  5. 4

    Move Find Into Model Other translations: It Es Fr

    Clean up your controllers and remove duplication by moving a find into your model. Use an association to call custom find methods.

    Tags: active-record

  6. 3

    Find Through Association Other translations: It Es Fr

    Use a has_many association in a find to avoid the need to pass foreign keys.

    Tags: active-record

  7. 2

    Dynamic find_by Methods Other translations: It Fr Es Kr Pl Pt

    Shorten simple find and improve readability by using the dynamic find_by and find_all_by methods.

    Tags: active-record

  8. 1

    Caching With Instance Variables. Other translations: It Fr Es Kr Pl Pt

    Store the result of an expensive command in an instance variable to improve performance.

    Tags: performance caching