Yves Senn
1f73a53071
active_model/validations requires necessary files to run
2012-10-18 14:51:16 +02:00
Carlos Antonio da Silva
d65adc7425
Update Active Model xml serialization test to reflect a change in builder
...
Due to a change in builder, nil values and empty strings now generates
closed tags, so instead of this:
<pseudonyms nil=\"true\"></pseudonyms>
It generates this:
<pseudonyms nil=\"true\"/>
Document this change in Rails so that people can track it down easily if
necessary.
Conflicts:
activemodel/CHANGELOG.md
2012-09-07 13:18:23 -03:00
Xavier Noria
8efced68be
CHANGELOGs are now per branch
...
Check 810a50d for the rationale.
2012-08-28 21:39:32 +02:00
Santiago Pastorino
64146cf7ba
Bump to 3.2.8
2012-08-09 16:26:36 -03:00
Santiago Pastorino
ddedf5d88e
Add release date to CHANGELOGs
2012-08-09 16:25:43 -03:00
Santiago Pastorino
65b5e35e89
Bump to 3.2.8.rc2
2012-08-03 11:01:50 -03:00
Santiago Pastorino
fcccbacec1
Bump to 3.2.8.rc1
2012-08-01 17:50:48 -03:00
Santiago Pastorino
6764b7ba23
Add missing CHANGELOG entries
...
[ci skip]
2012-08-01 14:38:09 -03:00
Aaron Patterson
d1b9cf2d48
updating release date
2012-07-26 14:34:31 -07:00
Aaron Patterson
21bcac1998
bumping to 3.2.7
2012-07-26 14:26:23 -07:00
Aaron Patterson
753c546df4
updating the version
2012-07-23 14:41:02 -07:00
Aaron Patterson
125dfdfcf7
updating changelogs
2012-07-23 14:26:16 -07:00
Rafael Mendonça França
089371ac23
validates_inclusion_of and validates_exclusion_of now accept
...
`:within` option as alias of `:in` as documented.
Fix #7118
2012-07-20 14:19:26 -03:00
Francesco Rodríguez
eed1cfe058
Fix build
2012-06-12 17:10:10 -05:00
Aaron Patterson
10cdbbc56b
Merge branch '3-2-stable-rel' into 3-2-stable
...
* 3-2-stable-rel:
updating changelogs
bumping version numbers
updating changelogs with security fixes
updating changelogs
Array parameters should not contain nil values.
Additional fix for CVE-2012-2661
2012-06-12 14:25:27 -07:00
Aaron Patterson
8381d398ce
updating changelogs
2012-06-12 14:02:40 -07:00
Angelo capilleri
b97e0a1127
Fix the the backport of the object dup with the ruby 1.9.3p194.
...
At the end of initialize_dup was added the call to super if it exists,
so it also works with 1.8.7 where initialize_dup doesn't exist.
This issu was introduced with the pull request #6324
2012-06-12 18:04:44 +02:00
Aaron Patterson
ee4209a31e
bumping version numbers
2012-06-11 15:40:36 -07:00
Aaron Patterson
301974a44a
updating changelogs
2012-06-11 15:32:24 -07:00
Tsutomu Kuroda
029936efbe
Fix human attribute_name to handle deeply nested attributes
...
This is a back-port of b0e2fc84 to Rails 3.2.
See #5843 and #3859 also.
2012-06-06 12:50:09 +09:00
Aaron Patterson
b57fa0bf69
bumping to 3.2.5
2012-05-31 20:38:03 -07:00
Aaron Patterson
febd65223e
bumping to 3.2.4
2012-05-31 10:27:47 -07:00
Aaron Patterson
d3e5d1c295
updating changelogs
2012-05-31 10:19:29 -07:00
Aaron Patterson
fe4dfdd644
bumping to 3.2.4.rc1
2012-05-28 11:58:15 -07:00
Francesco Rodriguez
4bbd05c90e
fix validations docs
2012-05-17 10:54:29 -05:00
Angelo Capilleri
e885b18fe9
add backport for the pull request #6324
2012-05-15 21:32:10 +02:00
Carlos Antonio da Silva
2dfa8b5995
Fix indent from previous merge
2012-05-15 13:41:49 -03:00
Angelo capilleri
396e383286
clean the errors if an object that includes validations errors is duped,for 3-2-stable
...
It Fixes #5953 in 3-2-stable, it's the same pull request of #6284
2012-05-15 18:20:53 +02:00
Rafael Mendonça França
3005f5834e
Add release data to Rails 3.2.3
2012-04-30 01:40:24 -03:00
Arun Agrawal
21b1a79151
Updated other README to point 3-2-stable
2012-04-23 15:56:59 +05:30
Vijay Dev
efa9a1ff8b
fix typo in readme [ci skip]
2012-04-12 21:49:32 +05:30
Aaron Patterson
96d81e5df4
test against ruby features in order to fix tests on Ruby 2.0
2012-04-12 17:12:52 +05:30
Santiago Pastorino
45d6cd94b3
Bump up to 3.2.3
2012-03-30 19:22:28 -03:00
Santiago Pastorino
5284e650be
Bumping to 3.2.3.rc2
2012-03-29 13:12:44 -03:00
Santiago Pastorino
5f37260918
Bumping to 3.2.3.rc1
2012-03-27 14:07:36 -03:00
Rafael Mendonça França
db743ff459
Fix my name in the CHANGELOG to follow the convention
...
Also add missing entries and use the formating convention
2012-03-09 00:52:19 -03:00
Vijay Dev
263d8424b3
update changelogs for gems without changes too [ci skip]
2012-03-09 03:17:15 +05:30
Carlos Antonio da Silva
e63f04cc0c
Improve docs for attr_accessible|protected related to Hash#except|slice
2012-03-09 00:21:45 +05:30
Aaron Patterson
01b470f526
bumping to 3.2.2
2012-03-01 09:16:28 -08:00
Aaron Patterson
4bcd437f76
updating RAILS_VERSION
2012-02-22 12:03:13 -08:00
Aaron Patterson
0052d90f20
ruby 2.0 makes protected methods return false for respond_to, so pass true as the second param
2012-02-21 10:33:07 -08:00
José Valim
a1b9acb72e
Merge pull request #5049 from fabioyamate/master
...
Fix sanitize_for_mass_assigment when role is nil
2012-02-15 14:24:35 +01:00
Carlos Antonio da Silva
91f8cf2264
Generate strict validation error messages with attribute name
...
Backported from master.
2012-02-01 11:55:07 -02:00
Xavier Noria
8e6ef371c5
fixes whitespace in CHANGELOG entries
2012-01-26 15:46:47 -08:00
Xavier Noria
67b8fbca92
updating RAILS_VERSION
2012-01-26 14:54:02 -08:00
Xavier Noria
97e8d1d819
CHANGELOG revision for v3.2.1
2012-01-26 14:28:48 -08:00
Paul McMahon
75d58fef26
allow requiring of 'active_model/naming'
...
Requiring 'active_model/naming' will raise an uninitialized constant
ActiveSupport::Deprecation exception because the module core extension
doesn't require 'active_support/deprecation'. This require cannot be
added to the core extension because of circular dependency issues.
2012-01-25 11:14:01 +09:00
David Heinemeier Hansson
f36dcaf488
Preparing for 3.2.0 release
2012-01-20 17:44:32 +01:00
Paweł Kondzior
7021184f9c
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-16 23:56:55 -08:00
Piotr Sarnacki
90aae070ed
Apparently asssert_empty is not available in 1.8.7
2012-01-16 18:28:01 +01:00