[Rails] Re: Rails3 Engines (mountable apps)...

2010-08-26 Thread Semper Augustus
try update to rc2, then bundle update, and worked for me without require. (just in gem file defined the engine.) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To u

[Rails] Re: Rails3 Engines (mountable apps)...

2010-08-05 Thread H.J. Blok
H.J. Blok wrote: > Samuel Kadolph wrote: > >> From the code you posted, I don't see a problem. >> >> I would suggest following the structure of each framework and how they >> use Railties. > Thanks for your help, I've tried to implement what you've written, but > somehow it still raises 'uni

[Rails] Re: Rails3 Engines (mountable apps)...

2010-08-04 Thread H.J. Blok
Samuel Kadolph wrote: > From the code you posted, I don't see a problem. > > I would suggest following the structure of each framework and how they > use Railties. > > # lib/my_engine.rb > require 'active_support' > > module MyEngine > extend ActiveSupport::Autoload > > autoload :MyClass

[Rails] Re: Rails3 Engines (mountable apps)...

2010-08-04 Thread Samuel Kadolph
H.J. Blok wrote: > Hello, > > I've a question about Rails 3 Engines. I'm looking everywhere for good > documentation on this subject, but didn't find it. > > I'm trying to create a mountable app (embedding a Rails application in > another Rails application). Both the 'base' application and the >