- 22 6月, 2010 2 次提交
-
-
由 Josh Kalderimis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Josh Kalderimis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 21 6月, 2010 24 次提交
-
-
由 José Valim 提交于
-
由 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). Also, refactoring of ActiveModel and ActiveRecord Validation tests. Test are a lot more DRY now. Better test coverage as well now. The first four points were reapplied from an older patch of Sven Fuchs which didn't apply cleanly anymore and was not complete yet. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeff Kreeftmeijer 提交于
Changed `ruby /path/to/rails myapp --dev` to `ruby /path/to/rails new myapp --dev` in the "Thor is not avalable" message. [#4915 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 rohit 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Xavier Noria 提交于
This patch is not consistent since it leaves similar directories in load_paths, needs more thought. This reverts commit b5fe014f.
-
由 Emilio Tagua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Hongli Lai (Phusion) 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
Conceptually, the lib directory is closer 3rd party libraries than to the application itself. Thus, Rails adds it to Ruby's load path ($LOAD_PATH, $:) but it is no longer included in dependencies' load paths. To enable autoloading back put this in your config/application.rb config.load_paths += %W( #{config.root}/lib )
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
Conflicts: actionpack/lib/abstract_controller/base.rb
-
由 rspeicher 提交于
-
由 rspeicher 提交于
-
由 rspeicher 提交于
-
由 rspeicher 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 rspeicher 提交于
-
由 Paco Guzman 提交于
-
- 20 6月, 2010 14 次提交
-
-
由 Rodrigo Rosenfeld Rosas 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Thibaud Guillaume-Gentil 提交于
Fixed date_select date_separator when discard_month and/or discard_day are true [#4856 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 rohit 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Steve Abatangle 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Carlos Antonio da Silva 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jan De Poorter 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Ryan Duryea 提交于
Added absolute path for config.ru as well. Turns out this is also needed to fix the daemon issue under ruby 1.8.7 [#4531 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Ryan Duryea 提交于
When running as a daemon, rack will cd to "/" and paths relative to the root of the rails app aren't valid when rack is setting up. Because of this, "rails server -d" was failing silently when trying to write it's pid file Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Tarsoly András 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-