All I get is “Successfully installed rails-1.2.4”.
Is it possible to install the gems for 2.0 PR?
So, what I did was :
rake rails:freeze:edge
Now that my app runs on edge Rails, I’ve got an error with a nested route that was working with 1.2.3, and I don’t understand how to solve it with 2.0PR : in a view, I use <%= edit_person_url(current_user.company, current_user) %>.
We'll do a new release shortly to update the PR gem.
Now that my app runs on edge Rails, I've got an error with a nested route
that was working with 1.2.3, and I don't understand how to solve it with
2.0PR : in a view, I use <%=
edit_person_url(current_user.company, current_user) %>.
I my routes.rb, I have :
map.resources :companies do |company|
company.resources :people
end
In rails 2.0, I get the following error :
undefined method `edit_person_url' for #<ActionView::Base:0x35485b4>
In 2.0, this is edit_company_person_url
In 1.2.4, you can use both but will get a deprecation warning on
edit_person_url.