Displaying 3 results from an estimated 3 matches for "flickrcontroller".
Did you mean:
flickr_controller
2006 Jul 19
1
flickr.rb error
hi all,
i am trying to put flickr on my ruby app using the famous "Putting
flickr on Rails" tutorial...i followed all the steps what was given
there...but the followoing error always come...
Error Message:
NoMethodError in FlickrController#search
private method `gsub'' called for 24:FixnumRAILS_ROOT:
C:/rails/flickr/config/..
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/1.8/cgi.rb:342:in `escape''
c:/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:75:in
`request_url''
c:/ruby/lib/rub...
2006 Apr 06
0
Using Rails and the Flickr API
...ing...
excuse my ignorance, but is there some extensive Ruby/Rails/Flickr
document somewhere? I''d like to get some clues about how all the
different pieces fit together:
flickr.photos.search -
http://www.flickr.com/services/api/flickr.photos.search.html
flickr_controller.rb -
class FlickrController < ApplicationController
def search
flickr = Flickr.new ''API_KEY''
render :partial => "photo", :collection =>
flickr.photos(:tags => params[:tags], :per_page => ''24'')
end
end
views/flickr/index.rhtml -
<%= form_remote...
2005 Dec 17
2
Testing flickr
Hi, I watched the flickr demo video some days ago and I was impressed of
Rails so I decided to test it my self.. I put it on my web server on
windows (Apache2/fcgi/Rails1.0). All works well but I have this in my
log:
Processing FlickrController#search (for 127.0.0.1 at 2005-12-17
15:00:02) [POST]
Parameters: {"commit"=>"Find", "tags"=>"flower", "action"=>"search",
"controller"=>"flickr"}
Rendered flickr/_photo (1.45200)
Rendered flickr/_photo (...