- 03 12月, 2013 1 次提交
-
-
由 Genadi Samokovarov 提交于
-
- 02 12月, 2013 2 次提交
-
-
由 Andrew White 提交于
A path redirect may contain any and all parts of a url which have different escaping rules for each part. This commit tries to escape each part correctly by splitting the string into three chunks - path (which may also include a host), query and fragment; then it applies the correct escape pattern to each part. Whilst using `URI.parse` would be better, unfortunately the possible presence of %{name} parameters in the path redirect string prevents us from using it so we have to use a regular expression instead. Fixes #13110.
-
由 Tejas Dinkar 提交于
-
- 01 12月, 2013 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 25 11月, 2013 1 次提交
-
-
由 Victor Costan 提交于
This commit makes it really easy to debug errors due to typos like "assert_response :succezz".
-
- 22 11月, 2013 3 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit 5a19346d, reversing changes made to d82588ee. This argument is being used in the view https://github.com/rails/rails/blob/5a19346d2855ecb1c791cdef3af92589566d00db/actionpack/lib/action_dispatch/journey/visualizer/index.html.erb#L4 It is being set using the binding https://github.com/rails/rails/blob/5a19346d2855ecb1c791cdef3af92589566d00db/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#L108
-
由 Vipul A M 提交于
-
由 Sıtkı Bağdat 提交于
This commit fixes formatting issue for `rake routes` task, when a section is shorter than a header.
-
- 15 11月, 2013 8 次提交
-
-
由 Carlos Antonio da Silva 提交于
Only set the value once after it's calculated.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Andrey Ognevsky 提交于
-
由 David Heinemeier Hansson 提交于
Revert "Used Yield instead of block.call" -- this causes all of atom_feed_helper_test.rb to fail with "SystemStackError: stack level too deep". This reverts commit d3a1ce1c.
-
由 Akshay Vishnoi 提交于
-
由 Kuldeep Aggarwal 提交于
-
由 Akshay Vishnoi 提交于
-
- 14 11月, 2013 1 次提交
-
-
由 Akshay Vishnoi 提交于
-
- 12 11月, 2013 1 次提交
-
-
由 Prem Sichanugrist 提交于
According to our guideline, we leave 1 space between `#` and `=>`, so we want `# =>` instead of `#=>`. Thanks to @fxn for the suggestion. [ci skip]
-
- 11 11月, 2013 1 次提交
-
-
由 Lukasz Strzalkowski 提交于
Ruby 1.8 legacy. Since 1.9 hash preserves insertion order. No need for additional array to achieve this
-
- 07 11月, 2013 6 次提交
-
-
由 Aaron Patterson 提交于
constant. `view_assigns` can use the precalculated sets and remove instance variables without allocating any extra arrays
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 06 11月, 2013 1 次提交
-
-
由 Godfrey Chan 提交于
JSON.{dump,generate} offered by the JSON gem is not compatiable with Rails at the moment and can cause a lot of subtle bugs when passed certain data structures. This changed all direct usage of the JSON gem in internal Rails code to always go through AS::JSON.{decode,encode}. We also shouldn't be implementing `to_json` most of the time, and these occurances are replaced with an equivilent `as_json` implementation to avoid problems down the road. See [1] for all the juicy details. [1]: intridea/multi_json#138 (comment)
-
- 05 11月, 2013 1 次提交
-
-
由 Gaurish Sharma 提交于
These errors occur when, there routes are wrongly defined. example, the following line would cause a missing :action error root "welcomeindex" Mostly beginners are expected to hit these errors, so lets improve the error message a bit to make their learning experience bit better.
-
- 04 11月, 2013 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 03 11月, 2013 2 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
This reverts commit c2b5a8e6, reversing changes made to 1918b12c. See: https://github.com/rails/rails/pull/9660#issuecomment-27627493
-
- 01 11月, 2013 2 次提交
-
-
由 Lin Reid 提交于
Fixes a typo in the description for the call class method in Responder.
-
由 Arun Agrawal 提交于
Same as 4d4ff531
-
- 30 10月, 2013 1 次提交
-
-
由 Damien Mathieu 提交于
-
- 27 10月, 2013 2 次提交
-
-
由 Doug Cole 提交于
-
由 Prem Sichanugrist 提交于
This increase the readability within the rescue block.
-
- 24 10月, 2013 2 次提交
-
-
由 Tima Maslyuchenko 提交于
After this fix application config become available when calling helper outisde of view config/application.rb #... config.asset_host = 'http://mycdn.com' #... Somewhere else ActionController::Base.helpers.asset_path('fallback.png') # => http://mycdn.com/assets/fallback.png
-
由 Josh Symonds 提交于
-
- 10 10月, 2013 1 次提交
-
-
由 Andrew White 提交于
Example: # application routes.rb mount BlogEngine => '/blog' # engine routes.rb get '/admin' => redirect('admin/dashboard') This now redirects to the path `/blog/admin/dashboard`, whereas before it would've generated an invalid url because there would be no slash between the host name and the path. It also allows redirects to work where the application is deployed to a subdirectory of a website. Fixes #7977
-