- 3 Courses Completed
- 8 Levels Completed
- 0 Screencasts Watched
- 22,000 Total Points
Ruby: 2 Courses Completed
Controllers in Space
Fat model/skinny controller, named scopes, scopes with lambda, default scopes, model creation scopes, skipping a filter
Nested attributes, models without the database, using Presenters, rejecting SQL injection, Rails 3 responder syntax
Basic & compound indices, protecting your attributes, using default database values, using callbacks properly, improving validation, database seeding
Optimizing n+1 queries, using counter_cache, batches of find_each, applying The Law of Demeter, using to_s and to_param in the model
Refactoring views, using helpers, rendering content with partials, handling empty strings, using content_for, meta yield
Creating variables, dialogs, object & string functions, number-related operations, working with arrays.
View from 30,000 Feet
Direct manipulation with CSS, manipulating multiple attributes, adding & removing classes, toggling classes, hiding & showing content.
Contents may shift
Retrieving & setting text content with text(), querying & setting DOM with html(), manipulating DOM with append() & prepend(), creating peers with :before & :after, adding & removing nodes.
Fasten your Seatbelts
Using document.ready, writing named functions, using click event listeners, keyboard events, animations, AJAX load()