RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: AvalancheTheory
def index @users = User.all end
then you'll probably need to create the file:
<% @users.each do |u| %> <%= u.email %> <% end %>
No promises that that works, but hopefully it supplies some instant gratification.
You'd be better off looking through some tutorials though if you don't understand the errors you're getting.
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book ^ is overkill for newbies, but I haven't found a more gentle learning source
then you'll probably need to create the file:
No promises that that works, but hopefully it supplies some instant gratification.
You'd be better off looking through some tutorials though if you don't understand the errors you're getting.
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
^ is overkill for newbies, but I haven't found a more gentle learning source