Damn, google groups ate my post, so again ;)

Joe Fiorini:
I don't like that kind of tests. You just add a line in tests that
ensures that you added a line in routes. Better way to do that would
be to check if engine can be properly rendered inside application. But
I'm not in core and it's only my biased opinion, so maybe you will get
more luck with someone else ;)

krishna:
Remember that's still edge version, it's not in stable branch, it's
not released. While I know that things were moving slowly for engines
a few last weeks, I'll try to catch up in next few days.

Short story for creating a mountable application right now (blog as an
example):
# close edge version of rails and install dependencies
git clone https://github.com/rails/rails.git
cd rails
bundle install

# create actual engine
bundle exec ./bin/rails plugin new /path/to/blog --dev --mountable

#install dependencies
cd /path/to/blog
bundle install

# create simple scaffold
./script/rails generate scaffold post title:string content:text

cd test/dummy
rake blog:install:migrations
rake db:migrate

./script/rails s

navigate to localhost:3000/blog/posts

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-c...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to