- 22 1月, 2013 30 次提交
-
-
由 Steve Klabnik 提交于
Stuff didn't work because of strong_parameters. Now the right calls are in place.
-
由 Steve Klabnik 提交于
We changed the error style, so they're all wrong. Now they're right.
😄 -
由 Carlos Antonio da Silva 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
Adding Back Rails::Engine::Railties#engines Conflicts: railties/CHANGELOG.md
-
由 Akira Matsuda 提交于
Now we're almost ready to remove this: https://github.com/rails/rails/blob/5294ad8/activesupport/lib/active_support/test_case.rb#L29
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Rafael Mendonça França 提交于
-
由 José Mota 提交于
The [following pull request](https://github.com/rails/rails/pull/8916) fixed the block being passed to the appropriate helper method. However, the content being passed into the block is generating repeated markup on the page due to some weird ERb evaluation. This commit tries to capture the block's generated output so the page isn't flooded with markup. [Rafael França + José Mota] Closes #8936
-
由 Piotr Sarnacki 提交于
-
由 Guillermo Iguaran 提交于
Fix asset_path in mounted engine
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
because some tests were not resetting them, and thus the tests were order dependent
-
由 Akira Matsuda 提交于
-
由 Piotr Sarnacki 提交于
Historically serving assets from a mountable engine could be achieved by running ActionDispatch::Static as a part of engine middleware stack or to copy assets prefixed with an engine name. After introduction of assets pipeline this is not needed as all of the assets are served or compiled into main application's assets. This commit removes the obsolete line making asset_path always generate paths relative to the root or config.relative_url_root if it's set. (closes #8119)
-
由 Xavier Noria 提交于
Capitalization in the title of the section, enumerates the environments in the usual order, adds a paragraph, and tries to use less "you"s.
-
由 Xavier Noria 提交于
document how to create custom rails environments
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
Refactored TransactionState into its own class
-
由 wangjohn 提交于
Refactored transaction state into its own object. Each transaction creates a new transaction state object upon initialization.
-
由 Andrew White 提交于
Ruby 1.9 freezes Hash string keys by default so where a route is defined like this: get 'search' => 'search' then the Mapper will derive the action from the key. This blows up later when the action is added to the parameters hash and the encoding is forced. Closes #3429
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
Inflector irregular singularize rules
-
- 21 1月, 2013 10 次提交
-
-
由 Rafael Mendonça França 提交于
AR integration tests for form helpers
-
由 virusman 提交于
-
由 Andrew White 提交于
Use the standard library's `DateTime.parse` because it's marginally faster and supports partial date/time strings. Benchmark: user system total real old 3.980000 0.000000 3.980000 ( 3.987606) new 3.640000 0.010000 3.650000 ( 3.641342)
-
由 Andrew White 提交于
This commit standardises the return value of `to_time` to an instance of `Time` in the local system timezone, matching the Ruby core and standard library behavior. The default form for `String#to_time` has been changed from :utc to :local but research seems to suggest the latter is the more common form. Also fix an edge condition with `String#to_time` where the string has a timezone offset in it and the mode is :local. e.g: # Before: >> "2000-01-01 00:00:00 -0500".to_time(:local) => 2000-01-01 05:00:00 -0500 # After: >> "2000-01-01 00:00:00 -0500".to_time(:local) => 2000-01-01 00:00:00 -0500 Closes #2453
-
由 Rafael Mendonça França 提交于
In Browser Path Matching with Javascript
-
由 Rafael Mendonça França 提交于
Remove extra sort from test
-
由 Carlos Antonio da Silva 提交于
It was being set to nil instead due to the wrong assignment.
-
由 Vipul A M 提交于
Cleanup change_schema tests to remove extra sorts on columns.
-
由 schneems 提交于
When debugging routes ,it can sometimes be difficult to understand exactly how the paths are matched. This PR adds a JS based path matching widget to the `/rails/info/routes` output. You can enter in a path, and it will tell you which of the routes that path matches, while preserving order (top match wins). The matching widget in action: ![](http://f.cl.ly/items/3A2F0v2m3m1Z1p3P3O3k/path-match.gif) Prior to this PR the only way to check matching paths is via mental math, or typing in a path in the url bar and seeing where it goes. This feature will be an invaluable debugging tool by dramatically decreasing the time needed to check a path match. ATP actionpack
-
由 Rafael Mendonça França 提交于
Enhanced tests for AbstractController::Translation module
-