- 26 4月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 04 4月, 2012 2 次提交
-
-
由 Tim Pope 提交于
-
由 Aaron Patterson 提交于
-
- 14 3月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 01 3月, 2012 2 次提交
- 21 1月, 2012 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 06 1月, 2012 1 次提交
-
-
由 Karunakar (Ruby) 提交于
minor
-
- 29 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 16 12月, 2011 1 次提交
-
-
由 José Valim 提交于
Clean up the cache before the request in case we are running in the reload_classes_only_on_change schema.
-
- 13 12月, 2011 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
-
- 02 12月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 25 5月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 04 5月, 2011 2 次提交
-
-
由 José Valim 提交于
Move sandbox to AR and pass the sandbox as a value. This way, other ORMs like Datamapper can also have their own sandboxing in rails console.
-
由 José Valim 提交于
-
- 24 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
added config.active_record.whitelist_attributes which creates an empty whitelist of attributes available for mass assignment for all models in your app
-
- 04 2月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 20 12月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 John Firebaugh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 John Firebaugh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 20 11月, 2010 4 次提交
-
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
- 03 11月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 30 9月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end
-
- 21 8月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commit 6b29dc87.
-
- 18 7月, 2010 1 次提交
-
-
由 José Valim 提交于
Add console hook to force ActiveRecord::Base to be loaded when console starts avoiding reference loops.
-
- 13 7月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 24 6月, 2010 1 次提交
-
-
由 José Valim 提交于
Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
-
- 19 6月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 17 6月, 2010 1 次提交
-
-
由 Rizwan Reza 提交于
-
- 15 5月, 2010 1 次提交
-
-
由 wycats 提交于
Reorganized initializers a bit to enable better hooks for common cases without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
-
- 29 4月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 21 4月, 2010 1 次提交
-
-
由 José Valim 提交于
Move observers initialization to after_config blocks, they are still being initialized to early (before load paths are being set).
-
- 16 4月, 2010 1 次提交
-
-
由 Michael Koziarski 提交于
Observers observing models with scopes defined will require the connection to be established.
-
- 30 3月, 2010 1 次提交
-
-
由 wycats 提交于
should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
-
- 27 3月, 2010 1 次提交
-
-
由 José Valim 提交于
Move application configuration to the application configuration object, remove railtie_name and engine_name and allow to set the configuration object.
-