Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 127 lines (67 sloc) 4.059 kb
263d842 @vijaydev update changelogs for gems without changes too [ci skip]
vijaydev authored
1 ## Rails 3.2.3 (unreleased) ##
2
3 * No changes.
4
5 ## Rails 3.2.2 (March 1, 2012) ##
97e8d1d @fxn CHANGELOG revision for v3.2.1
fxn authored
6
8e6ef37 @fxn fixes whitespace in CHANGELOG entries
fxn authored
7 * No changes.
97e8d1d @fxn CHANGELOG revision for v3.2.1
fxn authored
8
263d842 @vijaydev update changelogs for gems without changes too [ci skip]
vijaydev authored
9 ## Rails 3.2.1 (January 26, 2012) ##
10
11 * No changes.
97e8d1d @fxn CHANGELOG revision for v3.2.1
fxn authored
12
f36dcaf @dhh Preparing for 3.2.0 release
dhh authored
13 ## Rails 3.2.0 (January 20, 2012) ##
696d01f @josevalim Add docs to serializers. Update CHANGELOGs.
josevalim authored
14
8df787d @jonleighton Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`
jonleighton authored
15 * Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`, because this only existed to
f36dcaf @dhh Preparing for 3.2.0 release
dhh authored
16 support methods like `set_table_name` in Active Record, which are themselves being deprecated. *Jon Leighton*
8df787d @jonleighton Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`
jonleighton authored
17
696d01f @josevalim Add docs to serializers. Update CHANGELOGs.
josevalim authored
18 * Add ActiveModel::Errors#added? to check if a specific error has been added *Martin Svalin*
281272a @jonleighton Convert CHANGELOGs to Markdown format.
jonleighton authored
19
20 * Add ability to define strict validation(with :strict => true option) that always raises exception when fails *Bogdan Gusiev*
21
22 * Deprecate "Model.model_name.partial_path" in favor of "model.to_partial_path" *Grant Hutchins, Peter Jaros*
23
24 * Provide mass_assignment_sanitizer as an easy API to replace the sanitizer behavior. Also support both :logger (default) and :strict sanitizer behavior *Bogdan Gusiev*
25
26 ## Rails 3.1.0 (August 30, 2011) ##
27
28 * Alternate I18n namespace lookup is no longer supported.
29 Instead of "activerecord.models.admins.post", do "activerecord.models.admins/post" instead *José Valim*
30
31 * attr_accessible and friends now accepts :as as option to specify a role *Josh Kalderimis*
32
33 * Add support for proc or lambda as an option for InclusionValidator,
34 ExclusionValidator, and FormatValidator *Prem Sichanugrist*
35
36 You can now supply Proc, lambda, or anything that respond to #call in those
37 validations, and it will be called with current record as an argument.
38 That given proc or lambda must returns an object which respond to #include? for
39 InclusionValidator and ExclusionValidator, and returns a regular expression
40 object for FormatValidator.
41
42 * Added ActiveModel::SecurePassword to encapsulate dead-simple password usage with BCrypt encryption and salting *DHH*
43
44 * ActiveModel::AttributeMethods allows attributes to be defined on demand *Alexander Uvarov*
45
46 * Add support for selectively enabling/disabling observers *Myron Marston*
47
48
49 ## Rails 3.0.7 (April 18, 2011) ##
50
51 * No changes.
52
53
54 * Rails 3.0.6 (April 5, 2011)
55
56 * Fix when database column name has some symbolic characters (e.g. Oracle CASE# VARCHAR2(20)) #5818 #6850 *Robert Pankowecki, Santiago Pastorino*
57
58 * Fix length validation for fixnums #6556 *Andriy Tyurnikov*
59
60 * Fix i18n key collision with namespaced models #6448 *yves.senn*
61
62
63 ## Rails 3.0.5 (February 26, 2011) ##
64
65 * No changes.
66
67
68 ## Rails 3.0.4 (February 8, 2011) ##
69
70 * No changes.
71
72
73 ## Rails 3.0.3 (November 16, 2010) ##
74
75 * No changes.
76
77
78 ## Rails 3.0.2 (November 15, 2010) ##
79
80 * No changes
81
82
83 ## Rails 3.0.1 (October 15, 2010) ##
84
85 * No Changes, just a version bump.
86
87
88 ## Rails 3.0.0 (August 29, 2010) ##
89
90 * Added ActiveModel::MassAssignmentSecurity *Eric Chapweske, Josh Kalderimis*
91
92 * JSON supports a custom root option: to_json(:root => 'custom') #4515 *Jatinder Singh*
93
94 * #new_record? and #destroyed? were removed from ActiveModel::Lint. Use
95 persisted? instead. A model is persisted if it's not a new_record? and it was
96 not destroyed? *MG*
97
98 * Added validations reflection in ActiveModel::Validations *JV*
99
100 Model.validators
101 Model.validators_on(:field)
102
103 * #to_key was added to ActiveModel::Lint so we can generate DOM IDs for
104 AMo objects with composite keys *MG*
105
106 * ActiveModel::Observer#add_observer!
107
108 It has a custom hook to define after_find that should really be in a
109 ActiveRecord::Observer subclass:
110
111 def add_observer!(klass)
112 klass.add_observer(self)
113 klass.class_eval 'def after_find() end' unless klass.respond_to?(:after_find)
114 end
115
116 * Change the ActiveModel::Base.include_root_in_json default to true for Rails 3 *DHH*
117
118 * Add validates_format_of :without => /regexp/ option. #430 *Elliot Winkler, Peer Allan*
119
120 Example :
121
122 validates_format_of :subdomain, :without => /www|admin|mail/
123
124 * Introduce validates_with to encapsulate attribute validations in a class. #2630 *Jeff Dean*
125
126 * Extracted from Active Record and Active Resource.
Something went wrong with that request. Please try again.