From: Paul Na Date: 2012-09-22T01:01:52+09:00 Subject: Re: Need advice on a process Brandon Weaver wrote in post #1076978: > I would look into either Sequel (Ruby only app) or ActiveRecord (if > you're > doing Rails) to handle the database interaction. This should take a lot > of > the SQL overhead out of the equation. I would almost consider just going > over the Facebook API, or just going over a book like Railsspace if > you're > considering making your own Social Networking site. > > Brandon Weaver Hi Brandon, Thanks for the reply. I have got the db etc sorted, I'm using sinatra, postgresql and data-mapper. It was just to find out if this sounded OK as there is only one page that deals with the db so if someone goes to my fb app and enters the field that is required and they press submit, it basically check if the fb user is logged in/app authorized then continue with the process that the user as just done which is submitted the form, but if they are logged in/app authorized then it just add of updates the record. Unless there is a way to redirect the user to the last posted event, so once it has finished authorizing, then it redirect back to the original post state and processes as normal. -- Posted via http://www.ruby-forum.com/.