Displaying 3 results from an estimated 3 matches for "flickrtest".
2006 May 30
0
Catching Errors with Flickr API
...ickr API and I was wondering if it is
possbile to catch errors. I am using owner method (flickr :: photo) to
display the owner of the flickr photo''s name. However, at times (works
when it can find an owner), I get this error when loading the photo
(with attributes):
***
TypeError in Flickrtest#show
Showing app/views/flickrtest/_photo.rhtml where line #8 raised:
cannot convert Hash into String
Extracted source (around line #8):
6: <p>This is the static image URL: <%=@img.source(size=''Medium'') %></p>
7:
8: <p>Owner: <%= @owner %></p>
*...
2006 Feb 07
3
Problems with flickr gem: already initialized constant
New to rails so please bear with me. Am having difficulties with the
flickr plugin. trying to follow the video as a starter, and keep hitting
the following problem when I require ''flickr'' in the environment.rb file
testbed:/srv/www/htdocs/carstuff # ruby script/server
=> Booting WEBrick...
/usr/local/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:274:
warning:
2006 Apr 20
11
dynamic mock object anyone?
Hi guys, got this problem with creating such a thing... hope anyone
could help..
the problem:
ok, now i have this mock object that would simulate a external rpc call.
eg
require ''models/xmlrpc_agent''
class XmlrpcAgent
def create(params)
200
end
end
but the value of the value returned is fixed. which is quite hard for me
to test the controller when different