Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check block arity passed to routes draw so you don't need to use | Joshua Peek | 2009-12-09 | 2 | -2/+9 |
| | | | | |map| | ||||
* | Fixed old routing mapper example in generated routes.rb | Joshua Peek | 2009-12-09 | 2 | -2/+2 |
| | |||||
* | Scaffolding generates new routing dsl examples | Joshua Peek | 2009-12-09 | 8 | -30/+47 |
| | |||||
* | Simpler RenderOption API -- removes the need for registering the types and ↵ | Carlhuda | 2009-12-09 | 2 | -56/+59 |
| | | | | extending a module | ||||
* | More test porting | Joshua Peek | 2009-12-08 | 3 | -10/+9 |
| | |||||
* | Tack format onto resource routes | Joshua Peek | 2009-12-08 | 2 | -25/+37 |
| | |||||
* | Use new routing dsl in tests | Joshua Peek | 2009-12-08 | 15 | -67/+56 |
| | |||||
* | Fix ambiguous access_token scoping example | Joshua Peek | 2009-12-08 | 1 | -5/+5 |
| | |||||
* | Remove double scoping blocks and just use one | Joshua Peek | 2009-12-08 | 1 | -28/+24 |
| | |||||
* | Seperate scope level for nesting resources | Joshua Peek | 2009-12-08 | 1 | -8/+16 |
| | |||||
* | Don't use name prefix by itself unless as is an empty string | Joshua Peek | 2009-12-08 | 1 | -1/+1 |
| | |||||
* | Routes added under resource collection should be prefixed with | Joshua Peek | 2009-12-08 | 2 | -14/+5 |
| | | | | resource collection name | ||||
* | Fixed named prefix scope in resource member and collection actions | Joshua Peek | 2009-12-07 | 2 | -42/+40 |
| | |||||
* | Ignore name_prefix unless there is an explicit name | Joshua Peek | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | Move base mapper methods into Base module so plugins can easily | Joshua Peek | 2009-12-07 | 1 | -245/+247 |
| | | | | extend the mapper | ||||
* | Move name_prefix merging into Scoping concern | Joshua Peek | 2009-12-07 | 1 | -3/+7 |
| | |||||
* | Cleanup resource scoping by passing down the parent resource object | Joshua Peek | 2009-12-07 | 1 | -11/+20 |
| | | | | in the scope | ||||
* | named_prefix doesn't join with "_" | Joshua Peek | 2009-12-07 | 2 | -5/+5 |
| | |||||
* | Allow name_prefix to be pass into scope | Joshua Peek | 2009-12-07 | 2 | -48/+24 |
| | |||||
* | Allow scope to take :path and :controller options | Joshua Peek | 2009-12-07 | 2 | -14/+22 |
| | |||||
* | Pass symbol in as route name when match is used with a symbol | Joshua Peek | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | Deprecate recalling generation params when the defaults are nil | Joshua Peek | 2009-12-06 | 1 | -3/+1 |
| | |||||
* | Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts | Jeremy Kemper | 2009-12-06 | 1 | -0/+4 |
| | |||||
* | Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts. ↵ | Jeremy Kemper | 2009-12-06 | 1 | -1/+1 |
| | | | | Calling super gives us NameErrors. | ||||
* | Remove assert_raises usage that only test-unit 1 supports. Breaks minitest ↵ | Jeremy Kemper | 2009-12-06 | 1 | -2/+2 |
| | | | | and test-unit 2. | ||||
* | Update rackmount to fix some pending tests | Joshua Peek | 2009-12-05 | 2 | -14/+10 |
| | |||||
* | Replace reset_counter_cache with reset_counters that has API inline with ↵ | Gabe da Silveira | 2009-12-03 | 3 | -11/+16 |
| | | | | | | | | existing update_counters method [#1211 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add support for Mysql column positioning via #add_column and #change_column | Ben Marini | 2009-12-03 | 3 | -0/+64 |
| | | | | | | | | | | | | | | 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: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Should fix a few Sam Ruby fails. | Yehuda Katz | 2009-12-03 | 4 | -44/+45 |
| | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 52 | -793/+989 |
| | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | Use to_query in route query string generation | Joshua Peek | 2009-12-02 | 1 | -24/+1 |
| | |||||
* | Quick fix for not escaping []s (not ideal) | Joshua Peek | 2009-12-02 | 1 | -1/+1 |
| | |||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 3 | -6/+6 |
| | |||||
* | Fix instance_eval calls to association proxies | Mat Brown | 2009-12-02 | 2 | -6/+10 |
| | | | | | | | | 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: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Implement ActiveRecord#reset_counter_cache | Mike Breen | 2009-12-02 | 3 | -0/+30 |
| | | | | | | [#1211 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge branch 'master' of github.com:rails/rails | Joshua Peek | 2009-12-02 | 16 | -116/+123 |
|\ | |||||
| * | Ignore all pkg files | Carlhuda | 2009-12-02 | 1 | -7/+1 |
| | | |||||
| * | Fix an ivar name conflict in Rails::Server | Carlhuda | 2009-12-02 | 1 | -5/+5 |
| | | |||||
| * | Stop evalling the environment file in favor of require + setting a ↵ | Carlhuda | 2009-12-02 | 1 | -18/+17 |
| | | | | | | | | Kernel#config. This will fix the bug where reopening classes caused them to be overwritten. | ||||
| * | Add support for bare ActiveSupport via config.active_support.bare | Carlhuda | 2009-12-02 | 4 | -16/+18 |
| | | |||||
| * | Break up rails and railties: | Carlhuda | 2009-12-02 | 6 | -13/+49 |
| | | | | | | | | | | | | | | * 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. | ||||
| * | Remove global Rails initializers | Carlhuda | 2009-12-02 | 7 | -59/+35 |
| | | |||||
* | | Move controller namespace tracking into route set so it gets | Joshua Peek | 2009-12-02 | 5 | -46/+37 |
|/ | | | | reloaded in dev mode | ||||
* | Stop escaping "[]" in query string | Joshua Peek | 2009-12-02 | 2 | -6/+4 |
| | |||||
* | Rackmount 0.3.0 | Joshua Peek | 2009-12-02 | 1 | -1/+1 |
| | |||||
* | Fork rack build nested query to support to_param | Joshua Peek | 2009-12-02 | 1 | -2/+43 |
| | |||||
* | Ensure Cache-Control max-age is an integer | Jeremy Kemper | 2009-12-02 | 2 | -2/+2 |
| | |||||
* | Response#write is defined twice (this is why -w is good) | Joshua Peek | 2009-12-01 | 1 | -6/+0 |
| | |||||
* | Response#cache_control is defined later | Joshua Peek | 2009-12-01 | 1 | -1/+0 |
| | |||||
* | Remove concat before overriding it | Joshua Peek | 2009-12-01 | 1 | -6/+7 |
| |