Skip to content

HTTPS clone URL

Subversion checkout URL

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