Posted on November 23rd, 2015 by Bachan Smruty
Most of the developers have been working in rails 3.0.1, but the new version of rails (i.e. 3.1) is available now. I am going to discuss all the new features that I have found in rails 3.1 till now. 1. Auto bundle install In rails 3.0.1, after creating the new application, we need to make […]
Posted on November 23rd, 2015 by Sabyasachi Ghosh
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 […]
Posted on November 23rd, 2015 by DEBADATT PRADHAN
Hi Railities Here is a tip on how to work with CSRF token while ajax posting in rails 3.1. Query:- While we are doing AJAX post , automatically the current session destroys in rails 3, and the current user automatically logged out. Description for the query:- While creating a rails app it creats a CSRF(Cross […]
Posted on November 23rd, 2015 by Bachan Smruty
When building an application in RoR, we may need some images on the web page. In RoR application images are stored in ‘public/images/’ folder and we need to embed those images in our view pages which contains the HTML tag. I am working on the windows with ruby 1.9.2 and rails 3.0.1. What I have […]