- 16 5月, 2010 6 次提交
-
-
由 José Valim 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeff Kreeftmeijer 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeroen van Dijk 提交于
Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options. This makes it possible to pass additional options through Validators to message generation. E.g. plugin authors want to add validates_presence_of :foo, :format => "some format". Also, cleanup the :default vs :message options confusion in ActiveModel validation message generation. Also, deprecate ActiveModel::Errors#add_on_blank(attributes, custom_message) in favor of ActiveModel::Errors#add_on_blank(attributes, options). Original patch by Sven Fuchs, some minor changes and has been changed to be applicable to master again [#4057 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Jeff Kreeftmeijer 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 15 5月, 2010 18 次提交
-
-
由 Diego Algorta 提交于
Fix for get_ids when including a belongs_to association on a has_many association [#2896 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Anil Wadghule 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Martin 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Paco Guzman 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 wycats 提交于
Reorganized initializers a bit to enable better hooks for common cases without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
-
由 wycats 提交于
-
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Carlos Antonio da Silva 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
[#4507 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Adrian Sanchez 提交于
Bundler deprecated options in Gemfile with application template using method "gem" [#4534 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Marc-Andre Lafortune 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
[#4529 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 Stephen Celis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
and added AR::Base::clear_default_scope - clear_default_scope provides users who rely on the old behaviour of each call to default_scope overwriting any previous default scopes an opportunity to maintain that behaviour. [#4583 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
[#4596 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 14 5月, 2010 3 次提交
-
-
由 Mikel Lindsaar 提交于
Changed encoding behaviour of mail, so updated tests in actionmailer and bumped mail version to 2.2.1 Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
-
- 13 5月, 2010 6 次提交
-
-
由 Xavier Noria 提交于
defines prev_(month|year) in Date and Time to ease transition to 1.9, and deprecates last_(month|year)
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
This reverts commit f7862b2c. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
[#4529] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 12 5月, 2010 4 次提交
-
-
由 Xavier Noria 提交于
-
由 Santiago Pastorino 提交于
type_cast_calculated_value refactor: value is never a Fixnum here. Fix test since SQLite returns Float. [#4514 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Xavier Noria 提交于
-
由 Blake Smith 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 11 5月, 2010 3 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-