Commits

[11636 total ]
Anon32
4d6bfc7a Added assumption that a Symbol-based scope should end in _id unless it does so already and that you can pass vanilla string-based scopes as a parameter

by David Heinemeier Hansson on 2004-12-16 13:37 (over 5 years ago)

Anon32
2dbff3fb Make it possible to use a regular scope string in addition to the symbol shortcut

by David Heinemeier Hansson on 2004-12-16 13:22 (over 5 years ago)

Anon32
cf718eb7 Shouldnt have removed generators from gemspec

by David Heinemeier Hansson on 2004-12-16 13:12 (over 5 years ago)

Anon32
f296e117 Added Base.validates_inclusion_of that validates whether the value of the specified attribute is available in a particular enumerable object. [what-a-day]

by David Heinemeier Hansson on 2004-12-16 03:23 (over 5 years ago)

Anon32
f7f1fee7 Added Base.validates_inclusion_of that validates whether the value of the specified attribute is available in a particular enumerable object. [what-a-day]

by David Heinemeier Hansson on 2004-12-16 03:17 (over 5 years ago)

Anon32
d8a58eea git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de

by David Heinemeier Hansson on 2004-12-16 03:01 (over 5 years ago)

Anon32
1f916a11 Added that Active Records will automatically record creation and/or update timestamps of database objects if fields of the names created_at/created_on or updated_at/updated_on are present. [Tobias Luetke] Added acts_as_tree that can decorates an existing class with a many to many relationship with itself. Added acts_as_list that can decorates an existing class with methods like move_higher/lower, move_to_top/bottom.

by David Heinemeier Hansson on 2004-12-16 02:49 (over 5 years ago)

Anon32
8bc82278 Added that controllers will now attempt to require a model dependency with their name and in a singular attempt for their name.

by David Heinemeier Hansson on 2004-12-16 02:06 (over 5 years ago)

Anon32
1579f3b4 Added Base.validates_format_of that Validates whether the value of the specified attribute is of the correct form by matching it against the regular expression provided. [Marcel]

by David Heinemeier Hansson on 2004-12-16 01:32 (over 5 years ago)

Anon32
01e9b7c3 Added Base.default_error_messages as a hash of all the error messages used in the validates_*_of so they can be changed in one place [Tobias Luetke]

by David Heinemeier Hansson on 2004-12-15 22:20 (over 5 years ago)