Skip to content
This repository
Newer
Older
100644 122 lines (65 sloc) 3.591 kb
a4b8a7e8 » tenderlove
2012-07-23 updating changelog
1 ## Rails 3.1.7 (unreleased)
2
3 * No changes.
4
63dce162 » tenderlove
2012-06-12 updating changelogs
5 ## Rails 3.1.6 (Jun 12, 2012)
75d039f1 » tenderlove
2012-06-11 adding version number to changelogs
6
7 * No changes.
8
a7ed1981 » tenderlove
2012-05-31 updating the CHANGELOG
9 ## Rails 3.1.5 (May 31, 2012) ##
10
11 * No changes.
12
43486e0c » jonleighton
2011-11-04 Convert CHANGELOGs to Markdown format.
13 ## Rails 3.1.1 (October 7, 2011) ##
14
15 * Remove hard dependency on bcrypt-ruby to avoid make ActiveModel dependent on a binary library.
16 You must add the gem explicitly to your Gemfile if you want use ActiveModel::SecurePassword:
17
18 gem 'bcrypt-ruby', '~> 3.0.0'
19
20 See GH #2687. *Guillermo Iguaran*
21
22 ## Rails 3.1.0 (August 30, 2011) ##
23
24 * Alternate I18n namespace lookup is no longer supported.
25 Instead of "activerecord.models.admins.post", do "activerecord.models.admins/post" instead *José Valim*
26
27 * attr_accessible and friends now accepts :as as option to specify a role *Josh Kalderimis*
28
29 * Add support for proc or lambda as an option for InclusionValidator,
30 ExclusionValidator, and FormatValidator *Prem Sichanugrist*
31
32 You can now supply Proc, lambda, or anything that respond to #call in those
33 validations, and it will be called with current record as an argument.
34 That given proc or lambda must returns an object which respond to #include? for
35 InclusionValidator and ExclusionValidator, and returns a regular expression
36 object for FormatValidator.
37
38 * Added ActiveModel::SecurePassword to encapsulate dead-simple password usage with BCrypt encryption and salting *DHH*
39
40 * ActiveModel::AttributeMethods allows attributes to be defined on demand *Alexander Uvarov*
41
42 * Add support for selectively enabling/disabling observers *Myron Marston*
43
44
45 ## Rails 3.0.7 (April 18, 2011) ##
46
47 * No changes.
48
49
50 * Rails 3.0.6 (April 5, 2011)
51
52 * Fix when database column name has some symbolic characters (e.g. Oracle CASE# VARCHAR2(20)) #5818 #6850 *Robert Pankowecki, Santiago Pastorino*
53
54 * Fix length validation for fixnums #6556 *Andriy Tyurnikov*
55
56 * Fix i18n key collision with namespaced models #6448 *yves.senn*
57
58
59 ## Rails 3.0.5 (February 26, 2011) ##
60
61 * No changes.
62
63
64 ## Rails 3.0.4 (February 8, 2011) ##
65
66 * No changes.
67
68
69 ## Rails 3.0.3 (November 16, 2010) ##
70
71 * No changes.
72
73
74 ## Rails 3.0.2 (November 15, 2010) ##
75
76 * No changes
77
78
79 ## Rails 3.0.1 (October 15, 2010) ##
80
81 * No Changes, just a version bump.
82
83
84 ## Rails 3.0.0 (August 29, 2010) ##
85
86 * Added ActiveModel::MassAssignmentSecurity *Eric Chapweske, Josh Kalderimis*
87
88 * JSON supports a custom root option: to_json(:root => 'custom') #4515 *Jatinder Singh*
89
90 * #new_record? and #destroyed? were removed from ActiveModel::Lint. Use
91 persisted? instead. A model is persisted if it's not a new_record? and it was
92 not destroyed? *MG*
93
94 * Added validations reflection in ActiveModel::Validations *JV*
95
96 Model.validators
97 Model.validators_on(:field)
98
99 * #to_key was added to ActiveModel::Lint so we can generate DOM IDs for
100 AMo objects with composite keys *MG*
101
102 * ActiveModel::Observer#add_observer!
103
104 It has a custom hook to define after_find that should really be in a
105 ActiveRecord::Observer subclass:
106
107 def add_observer!(klass)
108 klass.add_observer(self)
109 klass.class_eval 'def after_find() end' unless klass.respond_to?(:after_find)
110 end
111
112 * Change the ActiveModel::Base.include_root_in_json default to true for Rails 3 *DHH*
113
114 * Add validates_format_of :without => /regexp/ option. #430 *Elliot Winkler, Peer Allan*
115
116 Example :
117
118 validates_format_of :subdomain, :without => /www|admin|mail/
119
120 * Introduce validates_with to encapsulate attribute validations in a class. #2630 *Jeff Dean*
121
122 * Extracted from Active Record and Active Resource.
Something went wrong with that request. Please try again.