
Originally Posted by
Luke Redpath
Can you post your flickr.rb model?
It's here.. http://pastebin.com/701969
Installed by using gem install -r flickr
My flickr controller is
Code:
class FlickrController < ApplicationController
def search
flickr = Flickr.new '626ed109d2705948c31ca81e5e22051c'
render :partial => "photo", :collection =>
flickr.photos(:tags => params[:tags], :per_page => '24')
end
end
Also my error out has changed, even though I haven't changed anything it's now..
Code:
d:/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:67:in `request'
d:/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:142:in `method_missing'
d:/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:102:in `photos'
#{RAILS_ROOT}/app/controllers/flickr_controller.rb:5:in `search'
I'm wondering if that screencast tutorial is outdated?
Bookmarks