About Us
Josh Software
Our passion is Ruby On Rails! We are an Indian company who believes that programming is an art.Our portfolio! -- Contact Us
Categories
- Case Studies (1)
- CMS (9)
- Radiant (9)
- General (21)
- Javascript (3)
- Mobile Development (1)
- Sencha (1)
- Ruby (42)
- Ruby on Rails (110)
- Conferences (11)
- Search (7)
- Tutorials (10)
Monthly Archives: August 2010
Lone Star Ruby Conference 2010
DejaVu! You usually say that when you attend the same conference twice ;) – At Lone Star, its always an new experience. Last year I was an attendee, this year I presented a talk and I thoroughly enjoyed myself. There … Continue reading
Zipcode validation using geokit in rails
1.Install geokit gemgem install geokitOR # Add following line inside rails initialize blockRails::Initializer.run do |config| config.gem ‘geokit’endAnd then run commandrake gems:install2. Consider User model with zipcode as attribute fieldinclude Geokit::Geocoders class User :zipcode private def request_zipcode_validation_using_geokit # Method request google … Continue reading
Posted in Ruby
Leave a comment
ActionMailer SMTP settings in rails
1. Add following line to rails environment file ActionMailer::Base.delivery_method = :smtp2. Include your email authenticationCreate a ruby file called smtp_settings under config/initializers directory# config/initializers/smtp_settings.rbActionMailer::Base.smtp_settings = { :address => “smtp.gmail.com”, :port => 587, :authentication => :plain, :enable_starttls_auto => true, :user_name => … Continue reading