Best Practice for Multidomain Rails Shop Setup -


i'm developing new rails app has multiple shops on different domains different content. best practice this?

i'm thinking of running 1 app , serve multiple domains , set shop shop.find_by_domain(request.host) or that.

or better have 1 rails app every domain?

thanks in advance.

have looked subdomains?

here railscast : http://railscasts.com/episodes/221-subdomains-in-rails-3

and can use 37 signals 'pow' gem. don't need different rails apps rather multi-tenant application.

check out shopify.com , big rails app different shop model.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -