Archive for May 25th, 2007

Working with edge rails – creating a project from scratch using edge rails

Posted on the May 25th, 2007 under programming,Rails Ecommerce Project,Ruby on Rails by

This has always been something I was thinking of, why caint I create my project initially with edge rails?

There are always minor changes in edge rails that can effect creating your project from using the stable version. Using the way below eliminates that issue by creating your initial project with edge.

mkdir -p new_project/vendor
cd new_project
svn co http://svn.rubyonrails.org/rails/trunk vendor/rails
ruby vendor/rails/railties/bin/rails .

Now you have yourself a fresh project base to start your new edge rails app.

scaffold_resource is now just scaffold in edge rails

Posted on the May 25th, 2007 under programming,Rails Ecommerce Project,Ruby on Rails by

Why I did not notice this earlier is beyond me, however, scaffold_resource is now just scaffold in edge rails. I must have been in a recent change committed.

Scaffold resource used to be the command ( script/generate scaffold_resource modelname) to generate a rest based (restful) scaffold of a model, along with the migration.

Now its just simply scaffold, same commands are available. (script/generate scaffold_resource modelname notes:text, etc)

I couldn’t find the change log in

Ruby on Rails documentation & API

Posted on the May 25th, 2007 under programming,Ruby on Rails by

A few of my recently bookmarked sites for the Ruby on Rails API and documentation that help with development.

http://gotapi.com/ Slick interface, ( has a lot of other API’s and documentation)

http://www.railsapi.org/ Its ok, slower to search (lacks ajaxness)

http://edgedocs.planetargon.org/ – Edge documentation

http://www.noobkit.com/ “Ruby on Rails documentation… on Rails”

http://www.railsbrain.com/ – Clean easy site for Rails documentation / API info.

http://www.ruby-doc.org/core/ – Ruby core documentation

http://api.rubyonrails.org/ – Official RoR documentation / API

http://widgets.precisionis.com.au/ – OSX Widget for the Rails API

Any other suggestions, post a comment and I’ll add it to the list.