Skip to content

Instantly share code, notes, and snippets.

@markfeedly
Last active December 23, 2015 12:09
Show Gist options
  • Save markfeedly/6633354 to your computer and use it in GitHub Desktop.
Save markfeedly/6633354 to your computer and use it in GitHub Desktop.
some resources to learn rails that look to be handy
Rails 4
current tutorial favourite (till proved otherwise)
http://ruby.railstutorial.org/book/ruby-on-rails-tutorial
nice overview of rails 4, illustrated by console use
http://railscasts.com/episodes/400-what-s-new-in-rails-4?autoplay=true
whats new in rails 4, nice enough vid, if only an update
http://vimeo.com/51181496
all Rails 4 Railscasts
http://railscasts.com/?tag_id=38
controllers
http://edgeguides.rubyonrails.org/action_controller_overview.html
strong parameters
http://blog.remarkablelabs.com/2012/12/strong-parameters-rails-4-countdown-to-2013
http://weblog.rubyonrails.org/2012/3/21/strong-parameters/
http://blog.sensible.io/2013/08/17/strong-parameters-by-example.html
minor interest, adding custom fields to devise w strong parameters and mass update
http://gorails.com/blog/rails-4-0-and-devise-with-strong-params-and-custom-fields
Rails 3.2
plus rspec, cucumber, database cleaner, factorygirl
http://railsapps.github.io/tutorial-rails-devise-rspec-cucumber.html
Cucumber
Testing devise use w cucumber
https://github.com/plataformatec/devise/wiki/How-To:-Test-with-Cucumber devise cucumber
http://robots.thoughtbot.com/post/8087279685/use-capybara-on-any-html-fragment-or-page
Bootstrap
http://railscasts.com/episodes/328-twitter-bootstrap-basics
Devise
http://devise.plataformatec.com.br/
Possibly interesting
The Intro to Rails Screencast I Wish I Had
http://www.youtube.com/watch?v=cMcEgOPza8A
Using Sublime Text 2 with Ruby on Rails
http://www.youtube.com/watch?v=05x1Jk4rT1A
Setups
Basic devise setup within an app
# edit gem file: gem 'devise'
bundle install
bundle show devise
rails g devise:install
rails g devise:views
rails generate devise User
rake db:migrate
--------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment