jr3 (63K)

Flickr and Rails

Posted by Jessica Mon, 21 Aug 2006 23:56:00 GMT

Doing neat things with flickr and rails is easier than running rails—believe it or not. The following are screenshots from Putting Flickr on Rails Screencast.

  • create layout/application.rhtml file
  • create controller: type ruby script/generate controller flickr at the command line in the directory your rails app is installed in
  • type gem install flickr at the command line in the directory your rails app is installed in
  • change flickr controller, stylesheet and write index.rhtml file

Flickr Controller


Stylesheet


_photo.rhtml


index.rhtml


Access index.rhtml file at http://localhost:3000/flickr
You are finished!!!!!!

Trackbacks

Use the following link to trackback from your own site:
/blog/articles/trackback/13

Comments

Leave a response

Comments


designed by jowensbysandifer