| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes #9302
|
| |
|
| |
|
| |
|
|\
| |
| | |
Require ActiveSupport dependencies in ActionDispatch::Http::URL
|
| |
| |
| |
| | |
Allows us to use url_for and friends in isolation.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Most application developers shouldn't be adding paths to
`config.autoload_paths` as it won't be eagerly loaded so
remove it from the generated config/application.rb file.
If a developer does want to autoload from paths outside of the app
directory then they should add the path to `config.eager_load_paths`
as these paths are also autoloaded as well.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whilst autoloading is known to be not threadsafe, leaving it in place
is a softer solution than failing hard when an application is deployed.
Many older applications will have paths added to `autoload_paths` and
ideally these should be eagerly loaded to be threadsafe. However one
of these paths is quite often lib which could lead to unintended
consequences due to the 'junk drawer' nature of this directory.
Developers should refrain from adding paths to `autoload_paths` or
`eager_load_paths` and use custom folders inside app for code that
needs to be eagerly loaded and use `require` or `require_dependency`
to explicitly load code from other locations.
|
|/
|
|
|
|
|
|
|
|
|
| |
Because of the possibility of lib being unintentionally eager loaded
it's been agreed that we'll leave autoload paths and eager load paths
separate for Rails 4.0.
This reverts commit 0757b3388ffe4f44b60de950d40e18ef05055931.
Conflicts:
railties/CHANGELOG.md
|
|
|
|
|
|
|
| |
Somehow I missed this method, which was then throwing an error
when viewing routes as HTML.
Make @rubys happy: ✔
|
| |
|
|
|
|
| |
Thanks @sikachu. :sweat_smile:
|
|
|
|
| |
Thanks @sikachu. :heart:
|
|\
| |
| | |
Print message on stderr when no routes are defined.
|
|/
|
|
|
|
| |
Print a message in both `rake routes` and at GET "/rails/info/routes"
that lets you know you have no routes defined, as well as linking to the
Rails Guide on the topic.
|
|\
| |
| | |
Add headings to rake routes table
|
| | |
|
|\ \
| |/
|/| |
Document changes from #7968 in Upgrading Guide
|
|/ |
|
|
|
|
| |
ParallelEach
|
|
|
|
| |
see: https://github.com/blog/1406-namespaced-gists
|
|\
| |
| | |
Return false in toggle function on error pages
|
| | |
|
|\ \
| |/
|/| |
Add test for ActiveRecord::Base#create
|
|/ |
|
|
|
|
| |
[ci skip]
|
|\
| |
| | |
Removed an old require of an MD5 digest which is no longer used.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This revision makes the terminology uniform with the rest of the file.
In general we describe these methods in terms of the adapter, rather
than the database. (As a side note, if we wanted to refer to the
database we would write "PostgreSQL".)
|
| |
| |
| |
| |
| | |
It was supposed to be removed by the preceding two reversions but I did
them in the wrong order.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
guides/source/upgrading_ruby_on_rails.md
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 0f0803fda5df60319d8646bb4f3e71f2e596316a.
Reason: The content was correct since attr_accessible was removed from
rails master.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The `:prefix` bullet content was not properly wrapping,
dropping to the following line because the additional
content was not indented properly. With this change, it
will now display properly the way `:discard_type` does.
|
| | | |
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | | |
|
| | |
| | |
| | |
| | | |
`a[data-color]` is not used in example html.
|
| | |
| | |
| | | |
As discussed with @josevalim on Ruby Rogues Parley.
|
| | |
| | |
| | | |
As discussed with @josevalim on Ruby Rogues Parley.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
The examples do not generate the output they intend to due to not explicitly declaring the hash separations. This causes it to be treated as one parameter instead of the intended two parameters.
|
| | |
| | |
| | |
| | | |
This file was renamed in c8a25386d.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 5d528f835e871f5f9d4b68e8a81cfbe900b7e718.
Relates to f8c8ad5 which is also getting reverted due to failing test.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit c321b309a9a90bbfa0912832c11b3fef52e71840.
Conflicts:
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
Reason: failing test
1) Error:
test_valid_column(ActiveRecord::ConnectionAdapters::SQLite3AdapterTest):
NoMethodError: undefined method `column' for
test/cases/adapters/sqlite3/sqlite3_adapter_test.rb:29:in
`test_valid_column'
|