| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | | |
(currently failing)
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
do not crash when `config/secrets.yml` is blank.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Terminate the backend ourselves on PG 9.2+
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
This should make it harder to accidentally break this test.
|
| |_|/ /
|/| | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Refactored object rendering in RenderingHelper#render into it's own method
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
automatically call @foo.to_partial_path
Calling `render @foo` allows local variables but not options to be
passed to the partial renderer. The correct way to render an object AND
pass options to the partial renderer is to pass the object in the
`:partial` parameter. However, there were previously no tests for this
behaviour (in `render_helper_test.rb` at least).
|
|\ \ \ \
| | | | |
| | | | | |
Hide bundler output for `rails new` if quiet option is specified.
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Update Travis settings for Rubinius
|
|/ / / /
| | | |
| | | |
| | | | |
/cc @brixen
|
|\ \ \ \
| |/ / /
|/| | | |
[Testing Guide] Explain usage of assert_redirected_to with named routes and ActiveRecord objects [ci skip]
|
| | | |
| | | |
| | | |
| | | | |
Active Record objects [ci skip]
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
THIS IS A HUGE HACK. Thor does not allow us to define public methods
without turning them in to "thor tasks". That means we cannot subclass
the `apply` method and make it public, so we have to make the method
private and call `send` on it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reason: i18n whitelists now locales without passing through symbols,
see https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L278.
Therefore, this snippet is no longer a good practice.
This reverts commit ec0664a6eb8906fcd31a53a1efad69bdc7fe6f5b.
|
|\ \ \ \
| | | | |
| | | | | |
Documentation: Don't symbolize tainted data. [ci skip]
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`I18n.locale=` symbolizes its argument, so passing it `params[:locale]`
allows one to DOS your application by visiting `...?locale=` URLS
repeatedly, with unique values, until the never-GCed symbols monopolize
the available memory.
|
|\ \ \ \
| | | | |
| | | | | |
add patch in HTTP Verb Constraints [ci skip]
|
|/ / / / |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
A pass over the Getting Started guide sections 1, 2, and 3 [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Add note about managing Ruby environments
* Point to curated lists of Ruby learning resources
* Expound on DRY and Convention over Configuration
* Remove note on superuser--thankfuly coders new to Rails don't have to sudo anymore :)
* Installation/verification instructions for SQLite3, since it's a dependency
|
|\ \ \ \
| | | | |
| | | | | |
Upgraded jquery-rails gem version
|
| | | | | |
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a follow up to: https://github.com/rails/rails/commit/07c70245a128cfe42f134be8759963dc98f1a63e
As suggested by @fxn this comment should not be visible in the API:
https://github.com/rails/rails/commit/07c70245a128cfe42f134be8759963dc98f1a63e#commitcomment-5331658
|
|\ \ \ \
| | | | |
| | | | | |
Add missing directory slashes [ci skip]
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix tidy_bytes for JRuby
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
The previous implementation was broken because JRuby (1.7.10) doesn't
have a code converter for UTF-8 to UTF8-MAC.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210
|
|/ / / /
| | | |
| | | |
| | | | |
from https://github.com/rack/rack/blob/master/lib/rack/server.rb#L289-L300.
|
| | | |
| | | |
| | | |
| | | | |
Closes #13993.
|
|\ \ \ \
| |_|/ /
|/| | | |
`Rails.threadsafe!` mode is deprecated, Update Docs [ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Test coverage improvement
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
check it is handles empty statement
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If we set :shallow_path when shallow is called it can result in incorrect
paths if the resource is inside a namespace because namespace itself sets
the :shallow_path option to the namespace path.
We fix this by removing the :shallow_path option from shallow as that should
only be turning shallow routes on and not otherwise affecting the scope.
To do this we need to treat the :shallow option to resources differently to
other scope options and move it to before the nested block is called.
This change also has the positive side effect of making the behavior of the
:shallow option consistent with the shallow method.
Fixes #12498.
|