.

Wednesday, August 25, 2010

Returning method error for Cassandra Object in Rails RC1

http://groups.google.com/group/ruby-sunspot/browse_thread/thread/a89567e341060d0c
http://github.com/rails/rails/commit/b0b9bf320409b66c6c6b680371aca590297cd4cc

When you run the Cassandra Object in Rails rc1, you need to add returning method into identitiy.rb , one_to_many.rb files. Because new rails deleted the method.

def returning(value)
   yield(value)
   value
end

0 comments:

Post a Comment

Facebook Twitter Delicious Digg More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Macys Printable Coupons