Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (25 sloc) 1.313 kb
851552b @dhh Prep for final release
dhh authored
1 *Rails 3.0.0 (August 29, 2010)*
b22c11f @josevalim Add missing entries and tidy up CHANGELOG.
josevalim authored
2
3 * Added ActiveModel::MassAssignmentSecurity [Eric Chapweske, Josh Kalderimis]
4
bce2c0c @rubymerchant Active Model JSON serializer now supports custom root option
rubymerchant authored
5 * JSON supports a custom root option: to_json(:root => 'custom') #4515 [Jatinder Singh]
6
d2a4885 @wycats Updated changelogs
wycats authored
7 * #new_record? and #destroyed? were removed from ActiveModel::Lint. Use
3270c58 @spastorino Deletes trailing whitespaces (over text files only find * -type f -exec ...
spastorino authored
8 persisted? instead. A model is persisted if it's not a new_record? and it was
d2a4885 @wycats Updated changelogs
wycats authored
9 not destroyed? [MG]
10
11 * Added validations reflection in ActiveModel::Validations [JV]
12
13 Model.validators
14 Model.validators_on(:field)
15
16 * #to_key was added to ActiveModel::Lint so we can generate DOM IDs for
17 AMo objects with composite keys [MG]
18
9fd9e5d @fxn fixes doc generation
fxn authored
19 * ActiveModel::Observer#add_observer!
20
21 It has a custom hook to define after_find that should really be in a
22 ActiveRecord::Observer subclass:
23
24 def add_observer!(klass)
25 klass.add_observer(self)
26 klass.class_eval 'def after_find() end' unless
27 klass.respond_to?(:after_find)
28 end
29
532b116 @dhh Change the ActiveModel::Base.include_root_in_json default to true for Ra...
dhh authored
30 * Change the ActiveModel::Base.include_root_in_json default to true for Rails 3 [DHH]
31
cccb0e6 @mcmire Add validates_format_of :without => /regexp/ option [Elliot Winkler, Pee...
mcmire authored
32 * Add validates_format_of :without => /regexp/ option. #430 [Elliot Winkler, Peer Allan]
33
34 Example :
35
36 validates_format_of :subdomain, :without => /www|admin|mail/
37
22f3398 @zilkey Introduce validates_with to encapsulate attribute validations in a class...
zilkey authored
38 * Introduce validates_with to encapsulate attribute validations in a class. #2630 [Jeff Dean]
39
40 * Extracted from Active Record and Active Resource.
Something went wrong with that request. Please try again.