Rails, How to integrate this module -
i'm working add fb registration plugin app. way works plugin posts 1 param, params["signed_request"] needs decoded app.
i found tutorial: http://veerasundaravel.wordpress.com/2011/01/27/facebook-registration-plugin-in-rails/
my question module live? , access in controller's def create method recieves params["signed_request"] ?
thanks
create 1 ruby file inside lib folder , put module code inside file. next have autoload module add below line in config/application.rb
config.autoload_paths += %w(#{config.root}/lib)
restart server. can access module inside controller.
Comments
Post a Comment