es'
> railscast on this but he does not go into dynamically added subdomains
> and routes. Can any of you point me to some resources for getting
> started on this?
> Thanks!
>
> On Dec 4, 6:32 pm, Perry D <[EMAIL PROTECTED]> wrote:
>
> > That's awesome. I
ler(s) you need subdomain access.
>
> before_filter :load_account
> def load_account
> @account = Account.find(:first, :conditions => ["slug = ?",
> request.subdomains.first])
> raise ActiveRecord::RecordNotFound unless @account
> end
>
> On Dec 3, 10:16 am, Perry
I'm pretty new here, but if anybody had ideas on how to go about using
subdomains for accounts within Rails 2.2. I had seen the subdomain-fu
plugin, but it didn't look like it plays very well with 2.2. Anyone
know of other plugins that might be useful?
--~--~-~--~~~---
3 matches
Mail list logo