The ELC Community Blog
A knowledge exchange on Ruby on Rails and Agile Development
Open Social plugin progress report
by Ryan Garver on January 10, 2008
Well, if you've been following the news around OpenSocial you would have seen that Google
released 0.6 of the OpenSocial spec. If you've been watching my Rails plugin you will have noticed that is has become pretty quiet. Expect version 1.1.0 in the next few days, this release will include a new OpenSocial container reference that adheres to the 0.6 spec. This is pulled from the
Shindig project. The container will be converging to the new spec and we'll have a number of improvements besides that. Let me know if you have any special requests.
Comments
Error:
undefined local variable or method `instance’ for #<actionview::base:0x2501c00>
1: <%= opensocial_container(‘http://www.last.fm/opensocial/myfavouritemusic.xml’, :owner => @user, :viewer => current_user, :instance_id => instance.id) %>
I am also running into the same error as Warren. Is there a solution
We’re migrating the plugin over to github and re-doing the architecture so that it will be a bit easier to get up and running.
In the meantime: for testing you should be safe just dropping a small integer in place of instance.id. That sample helper assumes you have a local variable called instance set in that view.
Hey, do you have the url to the plugin on github? I can’t find it.
Cheers, Red