You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an example application for Rails 3.1 that shows how to use "Devise":http://github.com/plataformatec/devise with "RSpec":http://rspec.info/ and "Cucumber":http://cukes.info/. Devise gives you ready-made authentication and user management. RSpec is a popular alternative to the Test::Unit testing framework. Cucumber is often used with RSpec for Behaviour Driven Development.
4
4
5
-
Best of all, there's a "detailed tutorial":https://github.com/railsapps/rails3-devise-rspec-cucumber/wiki/Tutorial (walk-through) to show how it's built.
5
+
Best of all, there's a "detailed tutorial":https://github.com/RailsApps/rails3-devise-rspec-cucumber/wiki/Tutorial (walk-through) to show how it's built.
6
6
7
7
You can clone this app or generate a new Rails application using this app as a template.
8
8
9
-
Any issues? Please create a "GitHub issue":http://github.com/railsapps/rails3-devise-rspec-cucumber/issues.
9
+
Any issues? Please create a "GitHub issue":http://github.com/RailsApps/rails3-devise-rspec-cucumber/issues.
10
10
11
11
h2. !http://twitter-badges.s3.amazonaws.com/t_logo-a.png(Follow on Twitter)!:http://www.twitter.com/rails_apps Follow on Twitter !http://railsapps.github.com/images/mailing-list-icon.jpg(Join the Mailing List)!:http://eepurl.com/dQx3o Join the Mailing List
12
12
13
-
Follow the project on Twitter: "rails_apps":http://twitter.com/rails_apps. Please tweet some praise if you like what you've found.
13
+
Follow the project on Twitter: "@rails_apps":http://twitter.com/rails_apps. Please tweet some praise if you like what you've found.
14
14
15
15
<a href="http://eepurl.com/dQx3o">Join the email list</a> (low volume, announcements only) for project updates and my tips about Rails resources.
A complete walkthrough tutorial for Rails 3.1 is available on the GitHub wiki:
20
20
21
-
h4. "View the Tutorial":https://github.com/railsapps/rails3-devise-rspec-cucumber/wiki/Tutorial
21
+
h4. "View the Tutorial":https://github.com/RailsApps/rails3-devise-rspec-cucumber/wiki/Tutorial
22
22
23
23
The tutorial documents each step to follow to create the application. Every step is documented concisely, so a complete beginner can create this application without any additional knowledge. However, no explanation is offered for any of the steps, so if you are a beginner, you’re advised to look for an introduction to Rails elsewhere. See a list of "recommended books and online resources for learning Rails":http://railsapps.github.com/best-recommended-learning-rails-books-resources.html.
24
24
@@ -30,20 +30,24 @@ This is a demonstration application that allows you to visit a home page and see
30
30
31
31
h4. Similar Examples and Tutorials
32
32
33
-
If you'd like to use the Mongoid ORM with the MongoDB datastore instead of ActiveRecord and a SQLite database, see the "rails3-mongoid-devise":https://github.com/railsapps/rails3-mongoid-devise example app and tutorial. Mongoid makes development quicker without schemas or migrations. The "rails3-mongoid-devise":https://github.com/railsapps/rails3-mongoid-devise example app and tutorial shows how to set up Devise and Mongoid with RSpec and Cucumber.
33
+
If you'd like to use the Mongoid ORM with the MongoDB datastore instead of ActiveRecord and a SQLite database, see the "rails3-mongoid-devise":https://github.com/RailsApps/rails3-mongoid-devise example app and tutorial. Mongoid makes development quicker without schemas or migrations. The "rails3-mongoid-devise":https://github.com/RailsApps/rails3-mongoid-devise example app and tutorial shows how to set up Devise and Mongoid with RSpec and Cucumber.
34
34
35
35
See an expanded list of more "Rails examples, tutorials, and starter apps":http://railsapps.github.com/rails-examples-tutorials.html.
36
36
37
37
h2. Dependencies
38
38
39
-
Before running this app, you need to install
39
+
Before generating your application, you will need:
40
40
41
41
* The Ruby language (version 1.9.2)
42
+
** @$ ruby -v@
42
43
* Rails 3.1
44
+
** @$ rails -v@
45
+
* Rake 0.9.0
46
+
** @$ rake --version@
43
47
44
-
This repository also contains branches for earlier version of Rails.
48
+
You must update the standard Ruby installation from Rake 0.8.7 to Rake 0.9.0 before using the application templates to generate a new Rails app.
45
49
46
-
See "Managing Rails Versions and Gems":http://railsapps.github.com/managing-rails-versions-gems.html for detailed instructions and advice.
50
+
See "Installing Rails 3.1":http://railsapps.github.com/installing-rails-3-1.html and "Managing Rails Versions and Gems":http://railsapps.github.com/managing-rails-versions-gems.html for detailed instructions and advice.
47
51
48
52
h2. Getting the Application
49
53
@@ -84,7 +88,7 @@ The application generator template will ask you for your preferences:
84
88
85
89
h4. Use "Recipes" to Customize an Application Template
86
90
87
-
The "tutorial":https://github.com/railsapps/rails3-devise-rspec-cucumber/wiki/Tutorial shows how a customized application template can be assembled from "recipes." The application template was created using the "Rails Apps Composer":https://github.com/RailsApps/rails_apps_composer gem which provides a convenient way to assemble a reusable application template by selecting various "recipes" for popular Rails development packages.
91
+
The "tutorial":https://github.com/RailsApps/rails3-devise-rspec-cucumber/wiki/Tutorial shows how a customized application template can be assembled from "recipes." The application template was created using the "Rails Apps Composer":https://github.com/RailsApps/rails_apps_composer gem which provides a convenient way to assemble a reusable application template by selecting various "recipes" for popular Rails development packages.
See an example "Rails 3.1 Gemfile":http://railsapps.github.com/rails-3-1-example-gemfile.html.
108
112
@@ -207,22 +211,21 @@ For a Devise introduction, Ryan Bates offers a "Railscast on Devise":http://rail
207
211
208
212
h4. Issues
209
213
210
-
Please create a "GitHub issue":http://github.com/railsapps/rails3-devise-rspec-cucumber/issues if you identify any problems or have suggestions for improvements.
214
+
Please create a "GitHub issue":http://github.com/RailsApps/rails3-devise-rspec-cucumber/issues if you identify any problems or have suggestions for improvements.
211
215
212
216
h2. Contributing
213
217
214
218
If you make improvements to this application, please share with others.
215
219
216
-
Send the author a message, create an "issue":http://github.com/railsapps/rails3-devise-rspec-cucumber/issues, or fork the project and submit a pull request.
220
+
Send the author a message, create an "issue":http://github.com/RailsApps/rails3-devise-rspec-cucumber/issues, or fork the project and submit a pull request.
217
221
218
222
If you add functionality to this application, create an alternative implementation, or build an application that is similar, please contact me and I'll add a note to the README so that others can find your work.
219
223
220
224
h2. Credits
221
225
222
226
Daniel Kehoe ("http://danielkehoe.com/":http://danielkehoe.com/) implemented the application and wrote the tutorial.
223
227
224
-
Is the app useful to you? Follow the project on Twitter:
225
-
"rails_apps":http://twitter.com/rails_apps
228
+
Is the app useful to you? Follow the project on Twitter: "@rails_apps":http://twitter.com/rails_apps
226
229
and tweet some praise. I'd love to know you were helped out by what I've put together.
0 commit comments