Hi all.
I''ve just created a template application that solves my problem:
http://github.com/devinterface/authlogic_subdomain_fu_startup_app
Skeleton Behaviour
This template sets up a working application with support for
authentication and subdomain.
Application workflow:
* Guest access a public section of the site (http://localhost:
3000)
* Guest chooses to register new account (http://localhost:3000/
account/new), including itself as user, and becomes account’s owner
* Accounts owner goes to his account (subdomain) url (http://
useraccount.localhost:3000/login) and logs into his account
* Accounts owner can add more users to it’s account (http://
useraccount.localhost:3000/users/new)
* Each created user can log into the account they belong
Skeleton features:
Here’s a list of what this template sets up:
Rails
* Authlogic
* Subdomain_fu
Javascript
* jQuery as javascript framework instead of prototype
CSS
* Blueprint as css framework
Testing
* BDD testing support using RSpec, Cucumber, and FactoryGirl
Other
Some other useful gems/plugins such as:
* Hpricot
* RedCloth
* Will Paginate
* SearchLogic
* Exception Notifier
* Inaction Mailer
Fell free to use/clone the template.
Cheers, Stefano
----------------
http://xponrails.net
http://rockmyevents.com
On Sep 14, 9:50 pm, Rails List
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> xponrails wrote:
> > Hi all.
>
> > I''m going to start a new application
usingAuthlogicwithsubdomain
> > support (subdomain_fu) and I wonder if someone has just created a
> > sample application to use as starting skeleton (that can be cloned/
> > forked on github for example).
>
> > Cheers, Stefano
>
> trywww.craigslistcloned.com
> --
> Posted viahttp://www.ruby-forum.com/.