Saasy - SaaS for Rails
January 5th, 2009
I’ve been working on an open source SaaS solution for Rails over Christmas called Saasy (pronouced “sarrsy” - using a posh voice).
Saasy provides:
- Subscription management
- Recurring billing
- Credit card management
- User authentication and SSO
- Mailers for invoices etc
Saasy follows a componentised design. The idea is that you build your custom site, and then the generic authentication, account management and credit card management is split into a separate Rails app (Saasy) - a reusable component.
None of the credit card information is stored locally - but rather at a payment gateway. This greatly simplifies PCI DSS (formally known as CISP) compliance. However, you still have control over when the card is charged - rather than using some of the gateway specific subscription systems - which means you don’t have to worry about gateway callbacks.
Sassy also deals with authentication (both OpenID and credential based) - your main app can forward users to the Saasy SSO, and then they’ll get redirected back once they’ve been authenticated. This means you don’t have to bother generating and customizing authentication code - and also means you can use the same code for authenticating multiple sites (DRY).
Checkout the README on github for a full list of all the features and installation info.


8 comments on “Saasy - SaaS for Rails”
01
On the surface, looks pretty cool, and I got it up and running, but not without some trouble. A bit more documentation on the required gems to install and the *.sample.yml files to update (I missed application.yml and subscription.yml).
Two questions I have:
How do you intend for that first admin account to get established so you can start tweaking and managing the system?
How does one “play” (or test, if you will) new account signups without tinkering with a real gateway?
02
The README contains instructions for copying the config files. What gems are needed that aren’t vendorized?
There isn’t an ‘admin’ account - there’s no admin interface.
This is mentioned in the README too, use the Braintree test gateway.
03
SaaSy looks good.
Got as far as Signup with saasy but got this error message.
“There were some errors setting up that account”
Also getting this error:-
“Identity url can’t be blank”
Read Braintree requirements for card test number, verification and address rules - all seem OK.
Any suggestions.
04
Try pulling from the git repo now - I’ve committed a few fixes. If that doesn’t work, let me know.
05
Thanks for the response on saasy.
1. The latest git repo (10/03/2009)failed to run initially due to a missing folder “/log” in the GIT repo.
2. Created new “/log” folder and created an empty development log in the folder.
3. Saasy now running OK on server.
4. Signup now working OK. Used braintree recommended test (a) credit card number and (b) CVV verification code defaults from their developer test site.
http://dev.braintreepaymentsolutions.com/test-transaction/
5. Got the email activation url from the development log and pasted into the browser address - worked.
6. login now working OK.
7. auth_code was registered in the subscriptions table from the default gateway (braintree in config/subscriptions.yml) indicating successful communications with the credit card gateway on signup.
8. Now to integrate saasy with my existing Rails App! The fun begins!
Thanks again.
Ray
06
Love saasy! Thanks for contribution.
A brief question:). Is saasy held separately or within the main rails app, i.e. within the vendor/plugins, or can it be in any place on the server as long as the main app is able to access saasy?
Thanks,
Alex
07
Alex:
It’s held separately in another Rails app - although you can share the same DB if necessary.
08
its very useful for sso integration
– i feel that more documentation needed for complete understanding
for me :
1. when i add new user under one account in saasy app, i want to add the same in my app db will it be possible or give me any alternetive
2. when use the saasy for multiple applications ( each app will have it’s own lay-out and style ) i want the saasy should open in the same(Myapp) lay-out and styles.
3. when i log-out from Myapp it logged out and shows the login screen in saasy - from here how can i come back to myapp
please provide help docs this will be great help
Thanks for your kind effort on saasy
Leave a Reply