I am trying to upgrade to 1.1.5 and rails no longer finds my controllers
the
live outside app/controllers. I was on 1.1.2 previously and here is my
setup
Thank god for open source. The security fix itself caused the problem and I
am working around it. I won’t spill the beans though.
Can you give me a hint as to what you are doing? As I posted in a
separate email to this list, our Web service URLs are screwed up. We
are on 1.1.2 as well. Both the single 1.1.2 security patch and the
upgrade to 1.1.5 caused the same problems: formerly recognized URLs
don’t work any more.
don’t work any more.
So I have found two things between 1.1.2 and 1.1.6
The security fix restricts your load path for controllers. They must
be
under RAILS_ROOT/app lib or components. So if you are doing anything
weird
with your load paths you will need to re think this.
The other thing I found was that I had some links under an admin
module
that pointed to :controller => admin/users and :controller =>
admin/groups. With the latest code this expands to admin/admin/users
and
admin/admin/groups. So I needed to fully qualify it. :controller =>
/admin/users. Which is actually what you would expect.
Hope that helps.
Dave
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.