Posts

Showing posts with the label jquery-rails

Video chat in rails 3

Video streeming is always a challenge for the rails programmer. I am sure After reading this article  every one CAN DO IT EASILY.  :) Gems used:       gem 'raydash', '2.1.0'       gem 'jquery-rails' Step 1 :       First generate a new rails project by typing rails new Demo_apps. Step 2:    Inside Your gem file add the raydash gem. You can check the version from rubygems.org. Step 3:    Go to http://www.raydash.com/ and generate Your user_id, and secret. Step 4:    Configure Demo_apps with your user_id and secret with the command:     rails g raydash:install [userid] [secret]       or you can directly go to config/initilizer and create a raydash.rb file                       and add your credentials there.     Step 5:            Create an suitable controller and add this       @token = Raydash.getToken()           Step 6:          for the view page write this