Following are simple steps :- 1.Into your gem file add gem ‘rails3-jquery-autocomplete’ . 2.Run the generator :- rails generate autocomplete:install . 3. And include autocomplete-rails.js on your layouts :-javascript_include_tag “autocomplete-rails.js”. 4.Just add it to your app/assets/javascripts/application.js file 5. Model Example Assuming… Read more ›
This blog helps you to add advertisement according to ipaddress of the user. The steps required for this advertisement module goes as follows: Step 1: Create advertisement model which contains longitude and latitude field through state and city drop down… Read more ›
rails_best_practices gem is used to check the quality of rails codes. rails_best_practices works well only in ruby 1.9.2 and ruby 1.9.3 so far. FOR MORE INFORMATION REFER TO FOLLOWING LINK 1. https://github.com/railsbp/rails_best_practices 2. http://railscasts.com/episodes/252-metrics-metrics-metrics?view=asciicast
Sunspot gem is a solution for adding full-text searching to Ruby applications. It uses Solr in the background. FOR MORE INFORMATION REFER TO THIS LINK http://railscasts.com/episodes/278-search-with-sunspot?view=asciicast
If you are looking for a Text editor for Rails3, then NicEdit is the one of the best editor. NicEdit is a Lightweight and Inline Content Editor which is pretty easy to install and use with Rails application both on… Read more ›
Quick Hash to a URL Query trick Got a hash of values you want to convert into a url query string? Use the to_query method: “http://www.example.com?” + { language: “ruby”, status: “awesome” }.to_query # => “http://www.example.com?language=ruby&status=awesome” Want to do it… Read more ›
Wanted a little tooltip utility where the tooltip itself could be completely customizable so here it is. Step 1 Include jQuery into your html <script type=”text/javascript” src=”jquery.js”></script> Step 2 Add the following script snippet within your head tag <script> $(document).ready(function(){… Read more ›
This is a small blog related to layouts in rails. Layout is a design,same as layout of any area in real world. Depending upon users requirement it can be applied on a particular action. The following is a snippet which… Read more ›
Journey to deploy first iPhone app on Apple Store ! Quick Guide to deploy app from Rhohub A) I suppose you have completed following things before you actually deploy binaries 1. Registered on iphone developer program - $99 per… Read more ›
As a Rubyist and Rails developer, I’m looking forward for Mobile app development. Definitely, looking for open-source, cross platform and something where i must be totally comfortable to use it as a ROR developer. There are a bunch of mobile… Read more ›