[Rails] insert multiple records to a single table from a single form

2012-09-10 Thread abhimanyu bv
Generally if we can create only 1 record, say 1 user at a time from the form. But what if I want to create multiple users from a single form? There are no associations with other models. How can i do that? -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] TypeError in FacebooksController#create

2012-07-19 Thread abhimanyu bv
I am using fb_graph gem to post something on my wall. I am getting this error while using fb_graph -can't dump hash with default proc. This is the code - def show auth = Facebook.auth.from_cookie(cookies) authenticate Facebook.identify(auth.user) redirect_to root_url end # handle