Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 186 lines (91 sloc) 5.268 kB
db65421 @vijaydev changelog updates for Rails 4 [ci skip]
vijaydev authored
1 ## Rails 4.0.0 (unreleased) ##
2
b3ccd7b @purcell Don't enable validations when passing false hash values to ActiveMode…
purcell authored
3 * Passing false hash values to `validates` will no longer enable the corresponding validators *Steve Purcell*
4
3a749a9 @bcardarella Reordered changelog entry
bcardarella authored
5 * `ConfirmationValidator` error messages will attach to `:#{attribute}_confirmation` instead of `attribute` *Brian Cardarella*
6
3b822e9 @guilleiguaran Add ActiveModel::Model, a mixin to make Ruby objects to work with AP …
guilleiguaran authored
7 * Added ActiveModel::Model, a mixin to make Ruby objects work with AP out of box *Guillermo Iguaran*
8
534dc4c @bogdan AM::Errors: allow :full_messages parameter for #as_json
bogdan authored
9 * `AM::Errors#to_json`: support `:full_messages` parameter *Bogdan Gusiev*
10
a17d047 @josevalim Trim down Active Model API by removing valid? and errors.full_messages
josevalim authored
11 * Trim down Active Model API by removing `valid?` and `errors.full_messages` *José Valim*
12
d804790 @rafaelfranca Fix my name in the CHANGELOG to follow the convention
rafaelfranca authored
13
14 ## Rails 3.2.2 (March 1, 2012) ##
15
16 * No changes.
17
18
152a393 @pacoguzman Update changelogs with rails 3.0-stable branch info
pacoguzman authored
19 ## Rails 3.2.1 (January 26, 2012) ##
20
21 * No changes.
22
d804790 @rafaelfranca Fix my name in the CHANGELOG to follow the convention
rafaelfranca authored
23
6d426b1 @claudiob Add release date of Rails 3.2.0 to documentation
claudiob authored
24 ## Rails 3.2.0 (January 20, 2012) ##
696d01f @josevalim Add docs to serializers. Update CHANGELOGs.
josevalim authored
25
8df787d @jonleighton Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`
jonleighton authored
26 * Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`, because this only existed to
27 support methods like `set_table_name` in Active Record, which are themselves being deprecated.
28
29 *Jon Leighton*
30
696d01f @josevalim Add docs to serializers. Update CHANGELOGs.
josevalim authored
31 * Add ActiveModel::Errors#added? to check if a specific error has been added *Martin Svalin*
281272a @jonleighton Convert CHANGELOGs to Markdown format.
jonleighton authored
32
33 * Add ability to define strict validation(with :strict => true option) that always raises exception when fails *Bogdan Gusiev*
34
35 * Deprecate "Model.model_name.partial_path" in favor of "model.to_partial_path" *Grant Hutchins, Peter Jaros*
36
37 * Provide mass_assignment_sanitizer as an easy API to replace the sanitizer behavior. Also support both :logger (default) and :strict sanitizer behavior *Bogdan Gusiev*
38
d804790 @rafaelfranca Fix my name in the CHANGELOG to follow the convention
rafaelfranca authored
39
152a393 @pacoguzman Update changelogs with rails 3.0-stable branch info
pacoguzman authored
40 ## Rails 3.1.3 (November 20, 2011) ##
41
42 * No changes
43
d804790 @rafaelfranca Fix my name in the CHANGELOG to follow the convention
rafaelfranca authored
44
152a393 @pacoguzman Update changelogs with rails 3.0-stable branch info
pacoguzman authored
45 ## Rails 3.1.2 (November 18, 2011) ##
46
47 * No changes
48
d804790 @rafaelfranca Fix my name in the CHANGELOG to follow the convention
rafaelfranca authored
49
152a393 @pacoguzman Update changelogs with rails 3.0-stable branch info
pacoguzman authored
50 ## Rails 3.1.1 (October 7, 2011) ##
51
52 * Remove hard dependency on bcrypt-ruby to avoid make ActiveModel dependent on a binary library.
53 You must add the gem explicitly to your Gemfile if you want use ActiveModel::SecurePassword:
54
55 gem 'bcrypt-ruby', '~> 3.0.0'
56
57 See GH #2687. *Guillermo Iguaran*
58
d804790 @rafaelfranca Fix my name in the CHANGELOG to follow the convention
rafaelfranca authored
59
281272a @jonleighton Convert CHANGELOGs to Markdown format.
jonleighton authored
60 ## Rails 3.1.0 (August 30, 2011) ##
61
62 * Alternate I18n namespace lookup is no longer supported.
63 Instead of "activerecord.models.admins.post", do "activerecord.models.admins/post" instead *José Valim*
64
65 * attr_accessible and friends now accepts :as as option to specify a role *Josh Kalderimis*
66
67 * Add support for proc or lambda as an option for InclusionValidator,
68 ExclusionValidator, and FormatValidator *Prem Sichanugrist*
69
70 You can now supply Proc, lambda, or anything that respond to #call in those
71 validations, and it will be called with current record as an argument.
72 That given proc or lambda must returns an object which respond to #include? for
73 InclusionValidator and ExclusionValidator, and returns a regular expression
74 object for FormatValidator.
75
76 * Added ActiveModel::SecurePassword to encapsulate dead-simple password usage with BCrypt encryption and salting *DHH*
77
78 * ActiveModel::AttributeMethods allows attributes to be defined on demand *Alexander Uvarov*
79
80 * Add support for selectively enabling/disabling observers *Myron Marston*
81
82
05c6caf @claudiob Add release dates to documentation
claudiob authored
83 ## Rails 3.0.12 (March 1, 2012) ##
152a393 @pacoguzman Update changelogs with rails 3.0-stable branch info
pacoguzman authored
84
85 * No changes.
86
87
88 ## Rails 3.0.11 (November 18, 2011) ##
89
90 * No changes.
91
92
93 ## Rails 3.0.10 (August 16, 2011) ##
94
95 * No changes.
96
97
98 ## Rails 3.0.9 (June 16, 2011) ##
99
100 * No changes.
101
102
103 ## Rails 3.0.8 (June 7, 2011) ##
104
105 * No changes.
106
107
281272a @jonleighton Convert CHANGELOGs to Markdown format.
jonleighton authored
108 ## Rails 3.0.7 (April 18, 2011) ##
109
110 * No changes.
111
112
152a393 @pacoguzman Update changelogs with rails 3.0-stable branch info
pacoguzman authored
113 ## Rails 3.0.6 (April 5, 2011) ##
281272a @jonleighton Convert CHANGELOGs to Markdown format.
jonleighton authored
114
115 * Fix when database column name has some symbolic characters (e.g. Oracle CASE# VARCHAR2(20)) #5818 #6850 *Robert Pankowecki, Santiago Pastorino*
116
117 * Fix length validation for fixnums #6556 *Andriy Tyurnikov*
118
119 * Fix i18n key collision with namespaced models #6448 *yves.senn*
120
121
122 ## Rails 3.0.5 (February 26, 2011) ##
123
124 * No changes.
125
126
127 ## Rails 3.0.4 (February 8, 2011) ##
128
129 * No changes.
130
131
132 ## Rails 3.0.3 (November 16, 2010) ##
133
134 * No changes.
135
136
137 ## Rails 3.0.2 (November 15, 2010) ##
138
139 * No changes
140
141
142 ## Rails 3.0.1 (October 15, 2010) ##
143
144 * No Changes, just a version bump.
145
146
147 ## Rails 3.0.0 (August 29, 2010) ##
148
149 * Added ActiveModel::MassAssignmentSecurity *Eric Chapweske, Josh Kalderimis*
150
151 * JSON supports a custom root option: to_json(:root => 'custom') #4515 *Jatinder Singh*
152
153 * #new_record? and #destroyed? were removed from ActiveModel::Lint. Use
154 persisted? instead. A model is persisted if it's not a new_record? and it was
155 not destroyed? *MG*
156
157 * Added validations reflection in ActiveModel::Validations *JV*
158
159 Model.validators
160 Model.validators_on(:field)
161
162 * #to_key was added to ActiveModel::Lint so we can generate DOM IDs for
163 AMo objects with composite keys *MG*
164
165 * ActiveModel::Observer#add_observer!
166
167 It has a custom hook to define after_find that should really be in a
168 ActiveRecord::Observer subclass:
169
170 def add_observer!(klass)
171 klass.add_observer(self)
172 klass.class_eval 'def after_find() end' unless klass.respond_to?(:after_find)
173 end
174
175 * Change the ActiveModel::Base.include_root_in_json default to true for Rails 3 *DHH*
176
177 * Add validates_format_of :without => /regexp/ option. #430 *Elliot Winkler, Peer Allan*
178
179 Example :
180
181 validates_format_of :subdomain, :without => /www|admin|mail/
182
183 * Introduce validates_with to encapsulate attribute validations in a class. #2630 *Jeff Dean*
184
185 * Extracted from Active Record and Active Resource.
Something went wrong with that request. Please try again.