- 27 2月, 2013 23 次提交
-
-
由 Steve Klabnik 提交于
remove private attribute? warning
-
由 Francesco Rodriguez 提交于
-
由 Andrew White 提交于
convert non-string default params to strings in the router.
-
由 Yves Senn 提交于
Closes #9435. Skip valid encoding checks for non-String parameters that come from the matched route's defaults.
-
由 Andrew White 提交于
the router allows String contraints.
-
由 Yves Senn 提交于
Closes #9432.
-
由 Aaron Patterson 提交于
Fix default output for postgres network address types
-
由 Erik Peterson 提交于
-
由 Steve Klabnik 提交于
I merged b8837066 but forgot to move the entry past beta1.
-
由 Steve Klabnik 提交于
Fix deletion of empty directories
-
由 Santiago Pastorino 提交于
-
由 Carlos Antonio da Silva 提交于
Add routing guide doc on root with namespaces. [ci skip]
-
由 Rafael Mendonça França 提交于
Fix touching an invalid parent record for belongs_to
-
由 Olek Janiszewski 提交于
If the parent of a `belongs_to` record fails to be saved due to validation errors, `touch` will be called on a new record, which causes an exception (see https://github.com/rails/rails/pull/9320). Example: class Owner < ActiveRecord::Base validates_presence_of :name end class Pet < ActiveRecord::Base belongs_to :owner, touch: true end pet = Pet.new(owner: Owner.new) # Before, this line would raise ActiveRecord::ActiveRecordError # "can not touch on a new record object" pet.save
-
由 Brendon Murphy 提交于
I read #9419 and realized I didn't know you could have namespaced roots, checked around, and a few friends didn't either. Figured this makes it guide worthy.
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
Journey::Path::Pattern#new raise more meaningful exception message.
-
由 zires 提交于
-
由 Xavier Noria 提交于
Use less hyperbole in the language re: allowed parameters
-
由 Rafael Mendonça França 提交于
Add tests for #9441
-
由 Francesco Rodriguez 提交于
-
由 Rafael Mendonça França 提交于
-
由 Vijay Dev 提交于
-
- 26 2月, 2013 17 次提交
-
-
由 David Czarnecki 提交于
-
由 Guillermo Iguaran 提交于
This is a small thing, motivated by https://github.com/rails/rails/issues/9419
-
由 Sam Ruby 提交于
-
由 Rafael Mendonça França 提交于
Expand order(:symbol) to "table".symbol to prevent broken queries on PG.
-
由 Akira Matsuda 提交于
-
由 Guillermo Iguaran 提交于
JRuby does not support racc, include it only in ruby platform
-
由 Francesco Rodriguez 提交于
-
由 Guillermo Iguaran 提交于
Change default root route helper
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Rafael Mendonça França 提交于
small typo on upgrade guide
-
由 Jeff Dickey 提交于
small typo fix
-
由 Charles Jones 提交于
1. When comparing the directory to delete against the top level cache_path, use File.realpath to make sure we aren't comparing two unequal strings that point to the same path. This occurs, for example, when cache_path has a trailing slash, which it does in the default Rails configuration. Since the input to delete_empty_directories never has a trailing slash, the comparison will never be true and the top level cache directory (and above) may be deleted. However… 2. File.delete raises EPERM when trying to delete a directory, so no directories have ever been deleted. Changing the code to Dir.delete fixes that.
-
由 Jeremy Kemper 提交于
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
-
由 Guillermo Iguaran 提交于
-