- 20 2月, 2013 6 次提交
-
-
由 Xavier Noria 提交于
-
由 Steve Klabnik 提交于
delete duplicated tests in AR base_test.rb
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Rafael Mendonça França 提交于
Raising an error when query methods have blank arguments.
-
由 John J Wang 提交于
-
- 19 2月, 2013 20 次提交
-
-
由 Takehiro Adachi 提交于
These are duplicated with the tests which are in relations_test.rb
-
由 Santiago Pastorino 提交于
Closes #9302
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Xavier Noria 提交于
Require ActiveSupport dependencies in ActionDispatch::Http::URL
-
由 Miha Filej 提交于
Allows us to use url_for and friends in isolation.
-
由 Andrew White 提交于
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.
-
由 Andrew White 提交于
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.
-
由 Andrew White 提交于
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 0757b338. Conflicts: railties/CHANGELOG.md
-
由 Steve Klabnik 提交于
Somehow I missed this method, which was then throwing an error when viewing routes as HTML. Make @rubys happy:
✔ -
由 Xavier Noria 提交于
-
由 Steve Klabnik 提交于
Thanks @sikachu.
😅 -
由 Steve Klabnik 提交于
Thanks @sikachu.
❤ -
由 Xavier Noria 提交于
Print message on stderr when no routes are defined.
-
由 Steve Klabnik 提交于
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.
-
由 Xavier Noria 提交于
Add headings to rake routes table
-
由 Steve Klabnik 提交于
-
由 Rafael Mendonça França 提交于
Document changes from #7968 in Upgrading Guide
-
由 Brian Alexander 提交于
-
- 18 2月, 2013 7 次提交
-
-
由 Akira Matsuda 提交于
-
-
由 Guillermo Iguaran 提交于
Return false in toggle function on error pages
-
由 Bartlomiej Kozal 提交于
-
由 Guillermo Iguaran 提交于
Add test for ActiveRecord::Base#create
-
由 Takehiro Adachi 提交于
-
由 Andrew White 提交于
[ci skip]
-
- 17 2月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
Removed an old require of an MD5 digest which is no longer used.
-
- 16 2月, 2013 6 次提交
-
-
由 Xavier Noria 提交于
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".)
-
由 wangjohn 提交于
-
由 Jon Leighton 提交于
It was supposed to be removed by the preceding two reversions but I did them in the wrong order.
-
由 Vijay Dev 提交于
Conflicts: guides/source/upgrading_ruby_on_rails.md
-
由 Vijay Dev 提交于
-
由 Jon Leighton 提交于
This reverts commit 5d528f83. Relates to f8c8ad56 which is also getting reverted due to failing test.
-