# Modernizing my rails chops

**URL:** <https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621>\
**Category:** Rails\
**Created:** [May 4, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621 "2008-05-04T17:18:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [May 4, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621/1 "2008-05-04T17:18:39Z")

</div>

I got aboard the rails train last year with my first project and made  
the decision to not go the RESTful route since it didnt seem necessary  
at the time and many of the tutorials and books had been written  
before this was The Way.

Now, there seem to be 2 things that I feel I’m falling behind on: 1)  
Restful-ness, and 2) Rails 2.x (that first big project is still on  
Rails 1.2.5).

So, having spotted (and somewhat ignored) a number of postings,  
tutorials, and books that can guide me on getting up-to-date, I  
thought I’d ask here for pointers to the ones that people feel did a  
good job of educating and guiding the transitions necessary to get in  
synch with the latest.

I should also say that I’m about to start a couple new projects, so  
those give me a clean slate to begin with… I’d also be interested in  
transitioning my current large project, so if anybody has tips about  
moving an existing project in these directions, that’ll help too.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [May 5, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621/2 "2008-05-05T22:05:57Z")

</div>

Working through this Rails 2 blog tutorial (parts 1 and 2) will  
overview some of the features for you. I found this fun as well.

> **[Rolling with Rails 2.0 - The First Full Tutorial - Part 1 | AkitaOnRails.com](https://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial)**
>
> for brazilians: click here.
> I am very happy to see that my Rails 2.0 Screencast was very well received. More than 1,500 unique visitors watched it...

---

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [May 5, 2008, 3:31am UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621/3 "2008-05-05T03:31:42Z")

</div>

lunaclaire wrote:

> I got aboard the rails train last year with my first project and made  
> the decision to not go the RESTful route since it didnt seem necessary  
> at the time and many of the tutorials and books had been written  
> before this was The Way.
> 
> Now, there seem to be 2 things that I feel I’m falling behind on: 1)  
> Restful-ness, and 2) Rails 2.x (that first big project is still on  
> Rails 1.2.5).

Just take a look at REST and RSPEC.  
It’s all fairly straightforward,  
and is mostly about to make you approach in a more organised way  
controllers and testing.

install rspec\_on\_rails

> ruby script/plugin install [http://rspec.rubyforge.org/svn/trunk/rspec\_on\_rails/](http://rspec.rubyforge.org/svn/trunk/rspec_on_rails/)

then generate an rspec\_resource

> ruby script/generate rspec\_scaffold test\_resource

look at what it gives you…

a whole load of rspec tests  
and a restful controller…

boom

give it a go.

---

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [May 6, 2008, 3:31am UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621/4 "2008-05-06T03:31:14Z")

</div>

Thanks, guys.

I just finished reading the following on RESTful Rails and found it  
useful:

[http://www.b-simple.de/download/restful\_rails\_en.pdf](http://www.b-simple.de/download/restful_rails_en.pdf)

---

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [April 30, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621/5 "2009-04-30T16:30:21Z")

</div>

Check github for latest installation instructions for different versions  
of  
rails-  
[http://wiki.github.com/dchelimsky/rspec/rails](http://wiki.github.com/dchelimsky/rspec/rails)

Gems are now the recommended installation mechanism unless running from  
edge  
(as described on github and the RSpec beta book).

Regards,  
Nick

On Sun, May 4, 2008 at 9:31 PM, Matthew R. Jacobs \<
