- 22 11月, 2012 1 次提交
-
-
由 Guillermo Iguaran 提交于
Was surprising found that this example doesn't work: scope :api do resources :users end and the right form to use it is: scope 'api' do resources :users end I think this should work similary as `namespace` where both are allowed. These two are equivalent: namespace :api do resources :users end namespace 'api' do resources :user end
-
- 20 11月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
Merge url for tests and add changelog entry for #8233.
-
由 Yves Senn 提交于
This resolves issues when rendering nested partials. Previously the `PartialRenderer` was reused which led to situations where the state of the renderer was reset. Closes #8197
-
- 16 11月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Joost Baaij 提交于
This is a list of mime types where template text is not html escaped by default. It prevents `Jack & Joe` from rendering as `Jack & Joe` for the whitelisted mime types. The default whitelist contains text/plain. This follows a whitelist approach where plain text templates are not escaped, and all the others (json, xml) are. The mime type is assumed to be set by the abstract controller.
-
- 09 11月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
[ci skip]
-
- 03 11月, 2012 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Rafael Mendonça França 提交于
This reverts commit f4ad0ebe, reversing changes made to 8b2cbb3a. Conflicts: actionpack/CHANGELOG.md REASON: This added introduced a bug when you have a shorthand route inside a nested namespace. See https://github.com/rafaelfranca/rails/commit/281367eb770faf8077c1fd6194188e92ed1637a1
-
- 01 11月, 2012 1 次提交
-
-
由 Nikita Afanasenko 提交于
Now `BestStandardsSupport` middleware appends it's `X-UA-Compatible` value to app's value. Also test for `BestStandardsSupport` middleware added.
-
- 31 10月, 2012 2 次提交
-
-
由 Guillermo Iguaran 提交于
This reverts commit a8560fa3.
-
由 Angelo capilleri 提交于
If a unknown format is passed in a request, the methods html?, xml?, json? ...etc Nil Exception. This patch add a class NullMimeTypeObject, that is returned when request.format is unknown and it responds false to the methods that ends with '?'. It refers to #7837, not fixes because it's not considered a improvement not a bug.
-
- 19 10月, 2012 1 次提交
-
-
由 Pavel Nikitin 提交于
-
- 18 10月, 2012 3 次提交
-
-
由 Joshua Peek 提交于
-
由 Rafael Mendonça França 提交于
Also remove references for RAILS_ASSET_ID from the guides [ci skip]
-
由 Rafael Mendonça França 提交于
Removed the asset_path configuration from the guides and added an entry in the upgrading_ruby_on_rails guide [ci skip]
-
- 11 10月, 2012 2 次提交
-
-
由 Yves Senn 提交于
-
由 David Heinemeier Hansson 提交于
-
- 07 10月, 2012 1 次提交
-
-
由 Riley Lynch 提交于
Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to.
-
- 06 10月, 2012 1 次提交
-
-
由 Yves Senn 提交于
the documentation on #assert_template states that the :locals option is only available in view test cases: # In a view test case, you can also assert that specific locals are passed # to partials: I added a warning when it's passed in an inapropriate context to prevent a NoMethodError.
-
- 05 10月, 2012 3 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
This was added in Rails 4 and we don't need changelog entries to behavior changes [ci skip]
-
由 Brendan Loudermilk 提交于
-
- 04 10月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 02 10月, 2012 2 次提交
-
-
由 Steve Klabnik 提交于
It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
-
由 Santiago Pastorino 提交于
-
- 01 10月, 2012 3 次提交
-
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
this is a patch for #7777.
-
由 Jeremy Kemper 提交于
Add a changelog entry for asset aliasing update in sprockets-rails. Supports referencing foo.js as foo/index.js and vice versa.
-
- 30 9月, 2012 3 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
-
由 Hugo Roque 提交于
Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing
-
- 26 9月, 2012 1 次提交
-
-
由 Nihad Abbasov 提交于
This will set image's both width and height attributes to value passed in size option.
-
- 25 9月, 2012 3 次提交
-
-
由 grosser 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 23 9月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 22 9月, 2012 1 次提交
-
-
由 Jo Liss 提交于
-
- 21 9月, 2012 3 次提交
-
-
由 Jo Liss 提交于
-