gem update cucumber-rails
should solve the problems ;)
this is where we start as a rails programmer
gem update cucumber-rails
---
:update_sources: true
:sources:
- http://gems.github.com
:benchmark: false
:bulk_threshold: 1000
:backtrace: false
:verbose: true
gem: --no-ri --no-rdoc
[sudo] gem install roo
http://railscasts.com/episodes/135-making-a-gem
http://guides.rubyonrails.org/plugins.html
class Post < ActiveRecord::Base
belongs_to :author
has_many :comments
end
for post in Post.all
puts "Post: " + post.title
puts "Written by: " + post.author.name
puts "Last comment on: " + post.comments.first.created_on
end
for post in Post.find(:all, :include => :author)
gem install devise
source : https://github.com/plataformatec/devise
gem install easy_roles