|
EXCEPTIONS
Rails 2.0
|
POSTED ABOUT 1 YEAR AGO
Throw away the ExceptionNotifier plugin, and say hello to Hoptoad and Exceptional. These Web services provide a free, easy-to-use interface for logging and managing your Rails exceptions. Just drop in a plugin and go and wonder how you lived without them
|
|
|
MODELS & VALIDATIONS
2.0
|
POSTED ABOUT 1 YEAR AGO
Comprehensive but concise details of Rails' built-in class validation helper methods from validates_acceptance_of through to validates_uniqueness_of, along with details of how to roll your own low-level validations along with examples...
|
HTML
PDF
(215 KB)
|
|
MODELS & HELPERS
2.0
|
POSTED ABOUT 1 YEAR AGO
Each ActiveRecord backed model in Rails has an errors object which errors are added to if the model fails validation. This cheatsheet covers methods available, default errors messages and view error helpers.
|
HTML
PDF
(200.7 KB)
|
|
CHEATSHEETS & MIGRATIONS
2.1
|
POSTED ABOUT 1 YEAR AGO
Up and down methods, rake tasks, column mapping, loading fixtures, example migration file, all packed onto one A4 page for an easy at-a-glance reference. Updated for Rails 2.1
|
HTML
PDF
(305.8 KB)
|
|
RJS
Rails 2.0
|
POSTED ABOUT 1 YEAR AGO
If you want an easy way to use visual effects on your page or to manipulate the DOM in an AJAX style way but without making a call to the server, then take a look at this helper method...
|
|
|
CHEATSHEETS & HELPERS
2.0
|
POSTED ABOUT 1 YEAR AGO
Create forms, check boxes, radio buttons, select lists and more using Rails' built-in form helpers.
|
HTML
PDF
(189.5 KB)
|
|
CHEATSHEETS & HELPERS
Rails 2.0
|
POSTED ABOUT 1 YEAR AGO
I have completely rewritten the form helpers cheatsheet to make it much more useful.
|
|
|
CHEATSHEETS & ACTION MAILER
2.0
|
POSTED ABOUT 1 YEAR AGO
ActionMailer is the Rails framework which handles email delivery. This comprehensive cheatsheet will help your email on its way.
|
HTML
PDF
(206.3 KB)
|
|
REGULAR EXPRESSIONS
Rails 1.2.0
|
POSTED ABOUT 1 YEAR AGO
Regular expressions can be one of the trickiest aspects of programming to manage. This little tool will help you test out your code quickly and easily...
|
|
|
HELPERS
Rails 1.2.0
|
POSTED ABOUT 1 YEAR AGO
Sometimes you want to quickly see the output of helper methods, and constantly clicking refresh in your browser then viewing the page source can be tiresome. Instead, use the Rails console to check helpers are doing what you want them to.
|
|
|
RELATIONSHIPS
Rails 1.2.0
|
POSTED ABOUT 1 YEAR AGO
We show you how to create a HABTM association for a table that links back to itself. For example, an article that has many related articles, or a person who has many related people.
|
|
|
MIGRATIONS
Rails 2.0
|
POSTED ABOUT 1 YEAR AGO
A look at the new features and syntax available in migrations on Rails 2.0
|
|
|
MIGRATIONS
Rails 1.2.3
|
POSTED ABOUT 1 YEAR AGO
A brilliant plugin that makes changing your database schema even easier and faster.
|
|
|
FILE HANDLING
Rails 1.2.0
|
POSTED OVER 2 YEARS AGO
Learn how to upload files to the database, then retrieve and display them
|
|