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
Copy file name to clipboardExpand all lines: README.textile
+21-25Lines changed: 21 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,20 @@
1
-
h1. Rails 3.1 + Devise + RSpec + Cucumber
1
+
h1. Rails 3.2 Devise RSpec Cucumber
2
2
3
-
This is an example application for Rails 3.1.x 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.
3
+
This is an example application for Rails 3.2 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
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
9
Any issues? Please create a "GitHub issue":http://github.com/RailsApps/rails3-devise-rspec-cucumber/issues.
10
10
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
11
+
h2. !http://twitter-badges.s3.amazonaws.com/t_logo-a.png(Follow on Twitter)!:http://www.twitter.com/rails_apps Follow on Twitter
12
12
13
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
-
<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:
17
+
A complete walkthrough tutorial is available on the GitHub wiki:
20
18
21
19
h4. "View the Tutorial":https://github.com/RailsApps/rails3-devise-rspec-cucumber/wiki/Tutorial
22
20
@@ -38,16 +36,10 @@ h2. Dependencies
38
36
39
37
Before generating your application, you will need:
40
38
41
-
* The Ruby language (version 1.9.2)
42
-
** @$ ruby -v@
43
-
* Rails 3.1
44
-
** @$ rails -v@
45
-
* Rake 0.9.2
46
-
** @$ rake --version@
47
-
48
-
You must update the standard Ruby installation from Rake 0.8.7 to Rake 0.9.2 before using the application templates to generate a new Rails app.
39
+
* The Ruby language (version 1.9.3)
40
+
* Rails 3.2
49
41
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.
42
+
See "Installing Rails 3.2":http://railsapps.github.com/installing-rails.html for detailed instructions and advice.
51
43
52
44
h2. Getting the Application
53
45
@@ -67,18 +59,14 @@ You can use an application template to generate a new version of the example app
67
59
68
60
To build the "rails3-devise-rspec-cucumber" example application, run the command:
69
61
70
-
@$ rails new myapp -m https://github.com/RailsApps/rails3-application-templates/raw/master/rails3-devise-rspec-cucumber-template.rb -T@
62
+
@rails new myapp -m https://github.com/RailsApps/rails3-application-templates/raw/master/rails3-devise-rspec-cucumber-template.rb -T@
71
63
72
-
Use the @-T@ flag to skip Test::Unit files. Add the @-J@ flag to skip Prototype files for Rails 3.0 (not needed for Rails 3.1).
73
-
74
-
bq. You MUST be using Rails 3.0.4 or newer. Generating a Rails application from an “HTTPS” URL does not work in Rails 3.0.3 and earlier versions.
64
+
Use the @-T@ flag to skip Test::Unit files.
75
65
76
66
This creates a new Rails app (with the name @myapp@) on your computer.
77
67
78
68
The application generator template will ask you for your preferences:
79
69
80
-
* Would you like to use jQuery?
81
-
* Would you like to use jQuery UI?
82
70
* Would you like to use Haml instead of ERB?
83
71
* Would you like to use RSpec instead of TestUnit?
84
72
* Would you like to use factory_girl for test fixtures with RSpec?
@@ -91,6 +79,12 @@ The application generator template will ask you for your preferences:
91
79
* Completely reset all CSS to eliminate styling?
92
80
* Would you like to set a robots.txt file to ban spiders?
93
81
* Would you like to use ‘rails-footnotes’ during development?
82
+
* Which front-end framework would you like for HTML5 and CSS3?
83
+
## None
84
+
## Zurb Foundation
85
+
## Twitter Bootstrap
86
+
## Skeleton
87
+
## Normalize CSS for consistent styling
94
88
95
89
h4. Use "Recipes" to Customize an Application Template
96
90
@@ -114,10 +108,6 @@ The application uses the following gems:
114
108
* "capybara":http://rubygems.org/gems/capybara
115
109
* "devise":http://rubygems.org/gems/devise
116
110
117
-
See an example "Rails 3.1.3 Gemfile":http://railsapps.github.com/rails-3-1-3-example-gemfile.html.
118
-
119
-
See "Managing Rails Versions and Gems":http://railsapps.github.com/managing-rails-versions-gems.html for advice and details.
120
-
121
111
h4. Install the Required Gems
122
112
123
113
Install the required gems on your computer:
@@ -219,6 +209,12 @@ h4. Issues
219
209
220
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.
221
211
212
+
h4. Where to Get Help
213
+
214
+
Your best source for help with problems is "Stack Overflow":http://stackoverflow.com/questions/tagged/ruby-on-rails-3. Your issue may have been encountered and addressed by others.
215
+
216
+
You can also try "Rails Hotline":http://www.railshotline.com/, a free telephone hotline for Rails help staffed by volunteers.
217
+
222
218
h2. Contributing
223
219
224
220
If you make improvements to this application, please share with others.
0 commit comments