homeASCIIcasts

Search Results

  1. 12

    Refactoring User Name Part 3 Other translations: It Es Fr

    In the final part of the episodes on testing and refactoring we'll refactor our test code.

    Tags: refactoring testing

  2. 11

    Refactoring User Name Part 2 Other translations: It Es Fr

    Having moved code from the view to the model in part one, we'll refactor it and write some tests to make sure it all still works as expected.

    Tags: refactoring testing

  3. 10

    Refactoring User Name Part 1 Other translations: It Es Fr

    This episode will show you how to move code from the view into the model to reduce duplication and clean up the view.

    Tags: refactoring

  4. 9

    Filtering Sensitive Logs Other translations: It Es Fr

    By default, Rails stores sensitive data in its log files. Find out how to filter it out.

    Tags: security

  5. 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

  6. 7

    All About Layouts Other translations: It Es Fr

    Everything you ever wanted to know about layouts.

    Tags: views

  7. 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

  8. 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

  9. 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

  10. 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