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

Posted in Conferences, Ruby on Rails | Tagged | 2 Comments

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

Posted in Ruby on Rails | Tagged | Leave a comment

Email attachments in ruby & rails

1. Add ActionMailer configuration in environment.This configuration can be different for development and production.# Include your application configuration below# You can set two configurations sendmail as well as smtp# To use SMTP you need to provide your email account credentials# … Continue reading

Posted in Ruby | Leave a comment

Spell Check in ruby and rails using BOSSMan

Wrong English is an often problem while developing any website product as it gives bad view to website user and thus does direct impact on product. BOSSMan is a ruby gem that interacts with yahoo web service and provides a … Continue reading

Posted in Ruby, Ruby on Rails | Tagged , , | Leave a comment

Spell Check in ruby and rails using BOSSMan

Wrong English is an often problem while developing any website product asit gives bad view to website user and thus does direct impact on product.BOSSMan is a ruby gem that interacts with yahoo web service and provides asimplest way to … Continue reading

Posted in Ruby | Leave a comment

Rails 3 Beautiful Code

Check out this SlideShare Presentation: Rails 3 Beautiful Codehttp://static.slidesharecdn.com/swf/ssplayer2.swf?doc=beautifulcodeinrails3-greggpollack-100218130149-phpapp02&stripped_title=rails-3-beautiful-code-3219240 View more presentations from GreggPollack.

Posted in General | Leave a comment