Commit Graph

530 Commits

Author SHA1 Message Date
Santiago Pastorino
38bf9cf368 Bump to 3.1.8 2012-08-09 16:22:39 -03:00
Aaron Patterson
d314a48a40 bumping to 3.1.7 2012-07-26 14:58:51 -07:00
Aaron Patterson
4e7d571918 bumping version numbers 2012-06-11 15:48:26 -07:00
Aaron Patterson
aa18c0cac0 bumping to 3.1.5 2012-05-31 10:42:35 -07:00
Aaron Patterson
bd8ee8c912 bumping to 3.1.5.rc1 2012-05-28 11:54:56 -07:00
Aaron Patterson
1aabea698b bumping to 3.1.4 2012-03-01 09:20:24 -08:00
Aaron Patterson
8c677e921a updating RAILS_VERSION 2012-02-22 12:06:09 -08:00
Aaron Patterson
00327721e4 ruby 2.0 makes protected methods return false for respond_to, so pass true as the second param 2012-02-21 10:32:23 -08:00
Paweł Kondzior
5da6b6ed67 Fix ActiveModel::Errors#dup
Since ActiveModel::Errors instance keeps all error messages as hash
we should duplicate this object as well.

Previously ActiveModel::Errors was a subclass of ActiveSupport::OrderedHash,
which results in different behavior on dup, this may result in regression for
people relying on it.

Because Rails 3.2 stills supports Ruby 1.8.7 in order to properly fix this
regression we need to backport #initialize_dup.
2012-01-23 23:01:11 +01:00
Piotr Sarnacki
f34e5a7d4c Add ActiveModel::Errors#delete, which was not available after move to use delegation 2012-01-23 23:01:11 +01:00
José Valim
39528548b0 Improve cache on route_key lookup.
Conflicts:

	activemodel/lib/active_model/naming.rb
2011-12-08 20:38:09 +01:00
Alexey Vakhov
7aae61f4aa Small docs fix in Active Model callbacks module 2011-11-26 20:17:29 +05:30
Jon Leighton
e9474c89d9 Preparing for 3.1.3 release 2011-11-20 22:48:20 +00:00
Jon Leighton
0e6b118313 Preparing for 3.1.2 release 2011-11-18 01:27:59 +00:00
Jon Leighton
e29f27ad76 Preparing for 3.1.2.rc2 release 2011-11-14 15:44:50 +00:00
Jon Leighton
68ed8eae30 Preparing for 3.1.2.rc1 release 2011-11-14 14:12:59 +00:00
Jean Boussier
c27c783a60 Fix a tiny typo in custom validators documentation 2011-11-13 22:32:00 +05:30
bradrobertson
26b9e71b64 correct documentation on initialize method to accept a single parameter 2011-10-26 20:18:46 +05:30
Evgeniy Dolzhenko
78bab03804 Use .add instead of << to add errors 2011-10-14 22:29:44 +05:30
Santiago Pastorino
ba708126d8 Bumping to 3.1.1 2011-10-07 13:13:42 -02:00
Santiago Pastorino
57a01f337e Bumping to 3.1.1.rc3 2011-10-05 22:00:08 -02:00
Uģis Ozols
14e2fe200a Class name specified in example is Person, not AttributePerson. 2011-10-05 18:49:29 +05:30
Santiago Pastorino
aead5720d7 Bumping to 3.1.1.rc2 2011-09-29 17:11:55 -03:00
Santiago Pastorino
3f9665be11 Bumping up to 3.1.1.rc1 2011-09-14 16:25:12 -07:00
Aaron Patterson
b7a62f2edf Merge pull request #2825 from guilleiguaran/bcrypt-ruby-comments
Add comments about bcrypt-ruby gem to SecurePassword and add it to default Gemfile
2011-09-03 10:14:33 -07:00
Guillermo Iguaran
2b15762384 Remove hard dependency on bcrypt. 2011-09-02 10:02:11 -07:00
Aaron Patterson
505e84599a bumping to 3.1.0 2011-08-30 18:58:35 -07:00
Santiago Pastorino
c4ce550f3e bumping to 3.1.0.rc8 2011-08-29 00:10:06 -03:00
Santiago Pastorino
e4fc8e22c1 bumping to 3.1.0.rc7 2011-08-28 20:48:07 -03:00
Anand
25f60ccf1c added missing require array/wrap in serialization 2011-08-23 15:11:15 -07:00
Aaron Patterson
633a5693a7 bumping to 3.1.0.rc6 2011-08-16 15:29:50 -07:00
Vijay Dev
388f09c28b fix misleading comment (originally made by Tate Johnson, we lost this commit while porting to the rails repo) 2011-08-16 11:10:11 -07:00
Myron Marston
fea7359d59 Allow ActiveRecord observers to be disabled.
We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
2011-08-13 09:02:52 -07:00
thedarkone
09dd71cbdf Handle the empty array correctly. 2011-07-28 12:24:02 +02:00
Aaron Patterson
a5188333aa bumping to rc5 2011-07-25 16:03:01 -07:00
Ben Marini
d4832f1027 Fix example code for #validates_with instance method 2011-07-25 14:21:52 -07:00
Sebastian Gassner
f4558c660d Documentation fix: adding missing equal sign in code sample for ActiveModel::Dirty. 2011-07-23 12:29:32 +02:00
Alexander Uvarov
79956db91c Follow rails convention by using Array.wrap 2011-06-24 03:27:54 +06:00
Alexander Uvarov
52302f0856 Allow to specify mass-assignment roles as array 2011-06-24 03:20:28 +06:00
José Valim
83efad01e9 Get rid of the alternate namespace lookup. 2011-06-11 17:31:11 +02:00
Aaron Patterson
279781f896 bumping to 3.1.0.rc4 2011-06-09 15:53:49 -07:00
Aaron Patterson
aefd703443 bumping to 3.1.0.rc3 2011-06-08 14:34:20 -07:00
thoefer
3451bcb62e Brought back alternative convention for namespaced models in i18n. 2011-06-08 11:10:56 -04:00
Aaron Patterson
26648978b6 bumping to rails 3.1.0.rc2 2011-06-07 17:01:20 -07:00
Vijay Dev
0e8857b65e fix incorrect output 2011-06-06 22:45:04 +02:00
Vijay Dev
424d72586f use clearer variable name in examples 2011-06-06 22:44:43 +02:00
Vijay Dev
69b3c9cf9a remove stray ( 2011-06-06 22:44:02 +02:00
Ben Orenstein
f4a4d5fa1c Change hashrocket spacing to match conventions. 2011-06-06 22:43:16 +02:00
Daniel Schierbeck
93659a3166 Remove superfluous whitespace from ActiveModel::SecurePassword
Only one space is needed, yo!
2011-05-22 04:02:47 -07:00
David Heinemeier Hansson
82857adc56 Bump versions for rc1 2011-05-21 20:56:52 -05:00