# Sample Authlogic + Subdomain\_fu application

**URL:** <https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479>\
**Category:** Rails\
**Created:** [September 14, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479 "2009-09-14T15:31:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xponrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df705f/32.png) [@xponrails](https://www.ruby-forum.com/u/xponrails)\
**Post date:** [September 14, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479/1 "2009-09-14T15:31:53Z")

</div>

Hi all.

I’m going to start a new application using Authlogic with subdomain  
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

---

<div class="post-metadata">

**Author:** ![xponrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df705f/32.png) [@xponrails](https://www.ruby-forum.com/u/xponrails)\
**Post date:** [September 14, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479/2 "2009-09-14T21:50:18Z")

</div>

xponrails wrote:

> Hi all.
> 
> I’m going to start a new application using Authlogic with subdomain  
> 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

try [www.craigslistcloned.com](http://www.craigslistcloned.com)

---

<div class="post-metadata">

**Author:** ![xponrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df705f/32.png) [@xponrails](https://www.ruby-forum.com/u/xponrails)\
**Post date:** [September 20, 2009, 10:04am UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479/3 "2009-09-20T10:04:43Z")

</div>

Hi all.

I’ve just created a template application that solves my problem:

> **[GitHub - devinterface/authlogic\_subdomain\_fu\_startup\_app: This template sets...](https://github.com/devinterface/authlogic_subdomain_fu_startup_app)**
>
> This template sets up a working application with support for authentication and subdomain. - GitHub - devinterface/authlogic\_subdomain\_fu\_startup\_app: This template sets up a working application w...

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:

```

1. 

```
* 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://xponrails.net)  
[http://rockmyevents.com](http://rockmyevents.com)

On Sep 14, 9:50 pm, Rails L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![xponrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df705f/32.png) [@xponrails](https://www.ruby-forum.com/u/xponrails)\
**Post date:** [October 22, 2009, 12:29am UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479/4 "2009-10-22T00:29:16Z")

</div>

Dude, you rock! Exactly what I needed!

Thanks a bunch!
