- 08 12月, 2009 3 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 07 12月, 2009 4 次提交
-
-
由 Joshua Peek 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts. Calling super gives us NameErrors.
-
由 Jeremy Kemper 提交于
-
- 06 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 04 12月, 2009 3 次提交
-
-
由 Gabe da Silveira 提交于
Replace reset_counter_cache with reset_counters that has API inline with existing update_counters method [#1211 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Ben Marini 提交于
add_column and change_column in the Mysql adapter now accept some additional options: :first => true # Put the column in front of all the columns :after => column_name # Put the colmn after 'column_name' add_column :new_col, :string, :first => true add_column :another_col, :integer, :default => 0, :after => :new_col [#3286 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Yehuda Katz 提交于
-
- 03 12月, 2009 17 次提交
-
-
由 Carlhuda 提交于
* A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Mat Brown 提交于
In the current stable, ActiveRecord::Associations::AssociationProxy#method_missing calls yield() if a block is given, causing the block to always be evaluated in its calling context. However, in the case of instance_eval, correct behavior requires that the block be passed directly to the @target, rather than being evaluated inside a different block. Incidentally, this also simplifies the code slightly. [#3412 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Mike Breen 提交于
[#1211 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
reloaded in dev mode
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
Stop evalling the environment file in favor of require + setting a Kernel#config. This will fix the bug where reopening classes caused them to be overwritten.
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
* rails is now a metagem (gem install rails works as it does now) * railties includes the glue layer, so you can easily declare dependencies on railties, actionpack, and actionmailer and not get ActiveRecord's rake tasks, initializers, etc.
-
由 Carlhuda 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 02 12月, 2009 12 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
and pages
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
possible controllers to route to
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 José Valim 提交于
Update vendored thor and ensure that content is completely modified before checking file collisions. Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-