Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove excess mocking from polymorphic_url tests [#2330 state:resolved] | Mike Gunderloy | 2009-04-21 | 1 | -293/+0 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Handle irregular plurals in polymorphic_urls [#2212 state:resolved] | Mike Gunderloy | 2009-03-12 | 1 | -0/+85 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -154/+152 |
| | |||||
* | Deprecated formatted_polymorphic_url | Jeremy Kemper | 2008-11-30 | 1 | -8/+10 |
| | |||||
* | Let polymorphic_path treat an array contains single name as without array ↵ | Hiroshi Saito | 2008-11-19 | 1 | -0/+6 |
| | | | | | | [#1386 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-15 | 1 | -0/+11 |
|\ | |||||
| * | Make polymorphic_url compact given array [#1317 state:committed] | hiroshi | 2008-11-14 | 1 | -0/+11 |
| | | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -2/+1 |
|/ | |||||
* | Allow polymorphic_url helper to take url options. [#880 state:resolved] | Tarmo Tänav | 2008-08-21 | 1 | -2/+20 |
| | | | | | | | | | All *_polymorphic_url, *_polymorphic_path helpers can now accept an options hash which will be passed on to the named route making it possible to generate polymorphic routes with additional url parameters. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixed polymorphic_url to be able to handle singleton resources. | Tammer Saleh | 2008-06-22 | 1 | -0/+33 |
| | | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved] | ||||
* | Fixed that formatted_polymorphic_route should be able to take the :format as ↵ | David Heinemeier Hansson | 2008-04-11 | 1 | -3/+8 |
| | | | | part of a single hash or as the option hash (references #8741) | ||||
* | Fixed that polymorphic routes would modify the input array (closes #11363) ↵ | David Heinemeier Hansson | 2008-03-17 | 1 | -0/+7 |
| | | | | | | [thomas.lee] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Sort files to test to make load order platform independent. Fix the clash ↵ | Michael Koziarski | 2008-02-16 | 1 | -16/+16 |
| | | | | | | this exposes. Closees #11081 [tpope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add documentation for polymorphic URL helpers, make API consistent for ↵ | Michael Koziarski | 2008-01-27 | 1 | -75/+106 |
| | | | | | | | | | polymorphic_path and polymorphic_url. Closes #10883 [mislav] Closes #8782 [gbuesing] Closes #8720 [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | * url_for now accepts a series of symbols representing the namespace of the ↵ | Tobias Lütke | 2007-07-19 | 1 | -0/+27 |
| | | | | | | record [Josh Knowles]. Closes #8640 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Temporary fix for formatted_polymorphic_urls and other polys that have ↵ | David Heinemeier Hansson | 2007-06-28 | 1 | -3/+4 |
| | | | | | | additional options (need better testing!) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | More nested polymorphic url helper fixes. Closes #6432, references #8601. | Jeremy Kemper | 2007-06-07 | 1 | -0/+70 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |