Rails 3.0.3 Setup – Delicious Clone

by Charles Max Wood on January 14, 2011

Here is what I’ve done to create this application:

  1. Use the ‘rails new’ command to create a rails application
  2. Set up the Gemfile
  3. Configure the Database
  4. Install Cucumber
  5. Install Rspec
  6. Install Devise
  7. Install CanCan
  8. Install jQuery
  9. Configure Devise

Download (HD) 84.2 MB
Download (iPod & iPhone) 47.4 MB

  • http://twitter.com/jakobbuis Jakob Buis

    Will you continue this as a series to build a full Rails-application, or is this just an one-time setup-rails-tutorial?

  • http://twitter.com/jakobbuis Jakob Buis

    Will you continue this as a series to build a full Rails-application, or is this just an one-time setup-rails-tutorial?

  • Anonymous

    Is there a reason for specifically including cucumber and rspec (they’re included already by rspec-rails and cucumber-rails)? Just curious.

    Nice video. It’s always nice to see how other people work!

    • Anonymous

      I was wondering about that too. He could have used http://railswizard.org/ to speed up the setup process.

      But I like it, I want to see the other parts.

      Thank you Charles.

      • http://teachmetocode.com Charles Max Wood

        For me, it’s sort of a clarity thing. In Rails 2.3, I usually included both rspec and rspec-rails. Something in my brain likes knowing that they’re being explicitly included. But, you’re right, the bundler would see the dependencies and require them anyway.

      • Anonymous

        I really don’t like to assume the dependencies of a Ruby gem. Thus, I like to include both the gem and it’s associated version. There has been too many times where one gem brings in a broken gem and one needs to use an earlier version of the defected gem. This is very important when deploying code to your production servers.

  • http://austinschneider.com Austin Schneider

    Is there a reason for specifically including cucumber and rspec (they’re included already by rspec-rails and cucumber-rails)? Just curious.

    Nice video. It’s always nice to see how other people work!

    • Anonymous

      I was wondering about that too. He could have used http://railswizard.org/ to speed up the setup process.

      But I like it, I want to see the other parts.

      Thank you Charles.

      • http://teachmetocode.com Charles Max Wood

        For me, it’s sort of a clarity thing. In Rails 2.3, I usually included both rspec and rspec-rails. Something in my brain likes knowing that they’re being explicitly included. But, you’re right, the bundler would see the dependencies and require them anyway.

      • Anonymous

        I really don’t like to assume the dependencies of a Ruby gem. Thus, I like to include both the gem and it’s associated version. There has been too many times where one gem brings in a broken gem and one needs to use an earlier version of the defected gem. This is very important when deploying code to your production servers.

  • Anton

    Nice, I am developing Rails 2.x apps and can follow you along on Rails 3 ;)
    Looking forward for the coming episodes

  • Anton

    Nice, I am developing Rails 2.x apps and can follow you along on Rails 3 ;)
    Looking forward for the coming episodes

  • Jim Bob

    Good content, but you could easily reduce the duration by 2/3. Do another take without the typos and delays. Seriously.

  • Jim Bob

    Good content, but you could easily reduce the duration by 2/3. Do another take without the typos and delays. Seriously.

  • Pingback: Rails – File, New Project… | John Plummer . com

  • http://twitter.com/ChrisLerum Chris Lerum

    Gotta love Muppets, too perfect at the end. I really prefer _not_ to have a line in Gemfile just for something that I can expect to be included by another gem. So, I’d remove gem lines for rspec, cucumber and factory_girl, and rather than call it a matter of preference, I’d say it’s a violation of DRY and shouldn’t be encouraged. There’s potential here, but one thing that must change – you first record your activity, then voiceover the whole thing later – this leads to many awkward moments, lags, hurried explanations, the feeling the something’s been missed etc. How’re you going to have a ‘whoops’ moment ever, if you’re not recording everything as you do it?

    good luck with this, awaiting the rest…

    • http://teachmetocode.com Charles Max Wood

      Thanks for the feedback, Chris. I keep going back and forth on whether to record as I code. I think I’m probably going to go back to that. If I ever get around to some videos that I’m actually offering for sale, I’ll probably clean it up and record the stuff after the fact.

  • http://twitter.com/ChrisLerum Chris Lerum

    Gotta love Muppets, too perfect at the end. I really prefer _not_ to have a line in Gemfile just for something that I can expect to be included by another gem. So, I’d remove gem lines for rspec, cucumber and factory_girl, and rather than call it a matter of preference, I’d say it’s a violation of DRY and shouldn’t be encouraged. There’s potential here, but one thing that must change – you first record your activity, then voiceover the whole thing later – this leads to many awkward moments, lags, hurried explanations, the feeling the something’s been missed etc. How’re you going to have a ‘whoops’ moment ever, if you’re not recording everything as you do it?

    good luck with this, awaiting the rest…

    • http://teachmetocode.com Charles Max Wood

      Thanks for the feedback, Chris. I keep going back and forth on whether to record as I code. I think I’m probably going to go back to that. If I ever get around to some videos that I’m actually offering for sale, I’ll probably clean it up and record the stuff after the fact.

  • P Schmitz

    looking forward to your next post

    • http://teachmetocode.com Charles Max Wood

      I’m putting it up right now.

  • P Schmitz

    looking forward to your next post

    • http://teachmetocode.com Charles Max Wood

      I’m putting it up right now.

  • dumbledore

    would it be possible to post write ups along with your videos. I really dislike screencasts

    • http://teachmetocode.com Charles Max Wood

      I’ve wondered about doing this versus concerns over duplicating content. I’ll give it a try and see what comes of it. I’ll probably place the write ups over in Articles.

  • dumbledore

    would it be possible to post write ups along with your videos. I really dislike screencasts

    • http://teachmetocode.com Charles Max Wood

      I’ve wondered about doing this versus concerns over duplicating content. I’ll give it a try and see what comes of it. I’ll probably place the write ups over in Articles.

  • http://fboldi.myopenid.com/ Fred Boldireff

    I have your voice full right in my headset which is kind of nagging (may be it’s talking to the wrong half of my brain?). Did you do it intentionally?
    Other than that, all the rest is excellent (content, pace, etc…). Many thanks!
    ps: I had to edit config/application.rb and modify config.action_view.javascript_expansions[:defaults] otherwise an error would raise…

    • http://teachmetocode.com Charles Max Wood

      Sorry for the audio issues. I’ve solved the problem in my recording setup.

      Thanks for the tip on the javascript setting. I’ll have to check up on that to make sure that I’m not having that problem.

  • http://fboldi.myopenid.com/ Fred Boldireff

    I have your voice full right in my headset which is kind of nagging (may be it’s talking to the wrong half of my brain?). Did you do it intentionally?
    Other than that, all the rest is excellent (content, pace, etc…). Many thanks!
    ps: I had to edit config/application.rb and modify config.action_view.javascript_expansions[:defaults] otherwise an error would raise…

    • http://teachmetocode.com Charles Max Wood

      Sorry for the audio issues. I’ve solved the problem in my recording setup.

      Thanks for the tip on the javascript setting. I’ll have to check up on that to make sure that I’m not having that problem.

  • Pingback: Delicious Bookmarks for February 12th from 22:48 to 22:54 « Lâmôlabs

  • http://pulse.yahoo.com/_36RUVEFAFOY2FAHUZSEYCAUA74 GadyS

    Great screencast
    what would you add if you deployed on heroku ?

  • http://pulse.yahoo.com/_36RUVEFAFOY2FAHUZSEYCAUA74 GadyS

    Great screencast
    what would you add if you deployed on heroku ?

  • Pingback: Rails / Ruby by Stumble - Pearltrees

Previous post:

Next post: