[Rails] Re: polymorphic_url for index

2008-12-03 Thread glennpow
Try: polymorphic_url([EMAIL PROTECTED], ChildClass.new]) If the array contains an item which is new (not saved), then it uses the plural form of path (index). On Nov 14, 8:36 am, Gabi Ge <[EMAIL PROTECTED]> wrote: > Perhaps I should be more specific: > > I'm using STI (single table inheritance)

[Rails] Re: To submodule or not to submodule? That is the question.

2008-09-22 Thread glennpow
Nevermind, solved it. > git pull (from vendor/rails) does work, it just takes forever. :) On Aug 29, 10:40 pm, Dejan Dimic <[EMAIL PROTECTED]> wrote: > Thank you for your opinions. > My thoughts are the same. > > For some projects I have used plugin install and nowadays git > submodules. > Per

[Rails] Re: To submodule or not to submodule? That is the question.

2008-09-22 Thread glennpow
Hi all, I'm trying to use git submodules to track edge rails in a project I have. And I set it up according to all examples I found on internet: > cd (RAILS_ROOT) > git submodule add git://github.com/rails/rails.git vendor/rails > git submodule init > git submodule update Which seemed to work f