Good Works On Earth’s Sequencers Membership site is home to our membership supporting and using the ongoing researches.
The base of this application was generated with the rails_apps_composer gem provided by the RailsApps Project.
The base of this application was created by Daniel Kehoe, he created the application generator, he wrote the tutorial.
The base of this application is completed as of 20121212. All Cucumber and Rspec tests pass, the commit number is : c60423dff50e1578d9da632dfc02880b52152788
Further builds on this application are by Kathy Onu, for the Good Works On Earth secure site.
This is the codebase for our Sequencers Membership application.
This Rails 4 branch is updated to Rails 4.0.2 running on Ruby 2.1.0, and styled with Bootstrap-Sass 3.1.0.0
This is our Rails 4 App for a Membership, Subscription, or SaaS Site.
For original instructions on how to install the app, please see Daniel Kehoe’s Master Branch :
README.textile
As this point this application is using CanCan for authorization.
~ Kathy Onu, a SiteKeeperThis Running-on-Rails-4 branch is updated to Rails 4.0.2. running on Ruby 2.1.0, using Bootstrap-Sass 3.1.0 for styling.
This branch is the Rails 4 update of Daniel Kehoe’s original, using Rails 3.2.16.
For original instructions on how to install the app, please see Daniel Kehoe’s Master Branch :
README.textile
1. Clone as a new application into a new directory :
$ git clone https://github.com/kathyonu/rails-stripe-membership-saas.git
1a. Change Directory into the new app :
$ cd rails-stripe-membership-saas
2. Open your Gemfile and make sure you have the right versions of Ruby and Rails :
source 'https://rubygems.org' ruby "2.1.0" gem 'rails', '4.0.2'
2a. Using your favorite editor, open the .ruby-gemset and .ruby-version files.
This will open TextEdit from inside your Terminal :
$ open -e .ruby-gemset $ open -e .ruby-version
Your .ruby-gemset file should show only the gemset name, here we use : Rails4.0.2_rails-stripe-membership-saas
Your .ruby-version file should show only the version number : 2.1.0
2b. After you verify your new gemset, then run bundle install :
$ bundle install
3. Create your application.yml file from the application.example.yml file, using your own data.
4. Make sure /config/application.yml exists in your ./.gitignore file. (It is at the bottom of the file)
5. Run the setup commands :
$ rake db:migrate $ rake db:seed $ rake db:test:prepare
You are now ready to run, and test your app.
6. To run cucumber tests:
$ cucumber
7. To run Rspec tests:
$ rspec spec
8. To run your server:
$ rails s
Now you can open your browser to http://localhost:3000
You are up and running on Rails 4.
References used during these upgrading commits include, and are not limited to :
Check your Gemfile’s readiness for Rails 4
Ruby Edge Guide for Upgrading to Rails 4.0, 4.1 and beyond
Note : this page is in sections, on different upgrades, so make sure you are in the right section.
Section 5 : Upgrading from Rails 3.0 to Rails 3.1
Section 4 : Upgrading from Rails 3.1 to Rails 3.2
Section 3 : Upgrading from Rails 3.2 to Rails 4.0
Section 2 : Upgrading from Rails 4.0 to Rails 4.1 and later.
Again, make sure you are using the right instructions, and stay in that section until you are done.
Strong Parameters by Example
Upgrading to Rails4: Strong Parameters
Your Rails 4 app to Heroku :
Rails 4 on Heroku
end of 20140130 note.
There is a detailed tutorial
showing how it is built with the original Rails 3 coding.
Daniel Kehoe implemented the application and wrote the tutorial.
Taylor Mock contributed tests and feature improvements.
Kathy Onu upgraded the Rails 3 master onto this Rails 4 branch using Bootstrap 3 and CanCan for authorization.
There are plans to create a branch using Pundit for authorization. Details will be shared here.
Is the app useful to you? Follow the original project creator on Twitter: @rails_apps and see what else Daniel Kehoe is doing.
20121212 – 2013 -2014 Good Works On Earth, a 501-c-3 non-profit organization
h4. Copyright © on Sequencers Membership application codes beyond 20121212
h4. Copyright © 20121212 and prior material – Daniel Kehoe
Copyright © on the building template : 2012 Daniel Kehoe