[Rails] mysql4.0

2013-11-13 Thread tanizawa
Hi guys,

It has a connection to the use of DB mysql4.0 from the environment of the 
ruby2.0 rails4.0 but I can not.
Gem mysql2 seems to respond mysql4.1 or later and is reading the document
Please teach the person that you know how you can connect.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/945af928-a0bc-43d0-b444-9a2c048f3f45%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Lead Rails Developer – Berlin - Visasponsoring

2013-11-13 Thread Thomas Lersch
Lead Rails Developer – Berlin - Visasponsoring

About the Job

Our client is seeking a developer to lead on maintaining and improving
of our platform for connecting charities and game developers.

Reporting to the CTO the lead developer will be responsible for the
continued development of the platform (based on Ruby on Rails, hosted on
AWS) and will be an integral part of the technical team with
responsibility for production servers, deployment, development
(including working with contract  outsource developers), and passing on
your knowledge  experience to more junior members of the team.

The following skills and experience are considered important for this
role:

•  Proven experience building software with Ruby using OO methodology
•  Proven experience building applications using Ruby on Rails (v3  4)
•  Experience of test-driven development using RSpec  Selenium
•  Demonstrated knowledge of SQL query building (ActiveRecord issues) 
optimization
•  Experience with the AWS stack including EC2, RDS, Elastic IP,
Route53, S3, SQS, and CloudWatch.
•  Create clean, semantic, HTML markup and work with both CSS 
Javascript
•  Experience designing  maintaining API’s
•  Experience supporting 3rd party developers  API consumers
•  Experience working in a flexible, distributed, team
•  Experience with Linux environment setup, configuration, and
deployment on the AWS
•  Able to work independently but co-ordinate with the team and offer
leadership to other developers
•  Experience of the games industry, understanding of Facebook  mobile
gaming and in-app purchase systems including iTunes store, Google Play
store, AppFigures
•  Familiarity with different payment systems, currency issues, 
transaction based systems
•  Familiarity with Puppet, Docker, LogStash
•  Familiarity with PHP, Wordpress themes, and Tumblr


Our client accepts international applications and offers Visasponsoring.
Interested candidates should send their CV to h...@buerolersch.de

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5d374fcc59ca2ba531e16bc74342ab17%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] How to use javascript variables in ruby

2013-11-13 Thread Daynthan Kabilan
Hi friends,

How to use javascript variables in ruby.

i have activity id on a_id

function(a_id)
{
%@foo=Activity.where(activity_id = ? , a_id)
}

how can solve it

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADKeJyTrV2TvTk1mLL_2h0YRPzR%2B0YdmdhK%2BbnTWCyV89haDbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Jordon Bedwell
On Wed, Nov 13, 2013 at 7:30 AM, Daynthan Kabilan dayantha...@gmail.com wrote:
 function(a_id)
 {
 %@foo=Activity.where(activity_id = ? , a_id)
 }

Name it: app/assets/javascript/file.js.erb and it will go through ERB.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnxWgd2CG-WWvR_t5mJXkMtSvWGUYCF9rV-%3DuESSp2TTPA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Jordon Bedwell
On Wed, Nov 13, 2013 at 7:55 AM, Jordon Bedwell envyge...@gmail.com wrote:
 On Wed, Nov 13, 2013 at 7:30 AM, Daynthan Kabilan dayantha...@gmail.com 
 wrote:
 function(a_id)
 {
 %@foo=Activity.where(activity_id = ? , a_id)
 }

 Name it: app/assets/javascript/file.js.erb and it will go through ERB.

Actually I think I'm wrong try:
http://railscasts.com/episodes/324-passing-data-to-javascript?view=asciicast

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnxRpWeBj-7mcVk46_DTX12y81iKbypiKDkVJ4cGU8%3Daog%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] can any one solve this problem

2013-11-13 Thread girish kumar
http://stackoverflow.com/questions/19908012/48-ruby-on-rails-ror-lesson-8-sign-up-rspec-integration-tests

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/34644645-972d-4af8-8c66-b10b6ff0fe45%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Template is missing

2013-11-13 Thread Uday (Dave)
Thanks walter!! even this helped me! I was so blind to write 'trail' for 
'trial' lol!! :P

Regards,
Ud

On Saturday, 29 June 2013 14:04:57 UTC-4, Walter Lee Davis wrote:

 Does that file exist at either of the sub-paths indicated, or not? If not, 
 move it there, or create it there. Check also that you may have a folder 
 called 'salutations' (plural) and you may have written salutation/hello in 
 your view or controller (wherever you called render). 

 Walter 

 On Jun 29, 2013, at 11:32 AM, Raphael P. wrote: 

  Template is missing 
  Missing template salutation/hello, application/hello with 
  {:locale=[:en], :formats=[:html], :handlers=[:erb, :builder, :raw, 
  :ruby, :jbuilder, :coffee]}. Searched in: * 
  C:/Users/RAPHAEL/hello/app/views 
  
  
  
  How can I solve this problem ? 
  
  -- 
  Posted via http://www.ruby-forum.com/. 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups Ruby on Rails: Talk group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to rubyonrails-ta...@googlegroups.com javascript:. 
  To post to this group, send email to 
  rubyonra...@googlegroups.comjavascript:. 

  To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/69b00cfddbccda0cd90b8aff449a5dbe%40ruby-forum.com.
  

  For more options, visit https://groups.google.com/groups/opt_out. 
  
  



-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/176d7f82-31cd-44eb-9446-fa8a20c76ba3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Cannot receive from specified address Unauthenticated senders not allowed

2013-11-13 Thread Nishant Sharma
On trying to run a rake task via crontab, I'm getting the following error:

rake aborted!
550 Cannot receive from specified address h...@xyz.com: 
Unauthenticated senders not allowed

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in
 
`block in deliver!'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:128:in
 
`deliver!'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:1989:in
 
`do_delivery'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:230:in
 
`block in deliver'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/actionmailer-3.1.10/lib/action_mailer/base.rb:432:in
 
`block in deliver_mail'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications.rb:53:in
 
`block in instrument'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications/instrumenter.rb:21:in
 
`instrument'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications.rb:53:in
 
`instrument'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/actionmailer-3.1.10/lib/action_mailer/base.rb:430:in
 
`deliver_mail'

/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:230:in
 
`deliver'

/mnt/voylla-production/releases/2013011431/app/controllers/admin/order_query_controller.rb:255:in
 
`send_last_2_days_orders'

/mnt/voylla-production/releases/2013011431/lib/tasks/env_setup.rake:116:in 
`block (2 levels) in top (required)'
Tasks: TOP = maintenance:last_2_days_orders
(See full trace by running task with --trace)


My production.rb is:

config.action_mailer.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.force_ssl = false
config.i18n.fallbacks = true
config.active_support.deprecation = :notify
config.action_mailer.default_url_options = {:host ='xyz.com'}
config.action_mailer.smtp_settings = {
  :address= 'smtp.sendgrid.net',
  :port   = '587',
  :authentication = :plain,
  :user_name  = ENV['SENDGRID_USERNAME'],
  :password   = ENV['SENDGRID_PASSWORD'],
  :domain = 'xyz.com'
}
config.action_mailer.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.action_mailer.default :from = xyz Help h...@xyz.com
config.mailer_sender = xyz Help h...@xyz.com
config.action_mailer.default_url_options = { :host = xyz.com }


I've looked through similar posts, and I feel my production.rb is 
configured correctly. So, I'm not able to figure out what's the problem.

Please could someone help. Thanks

**EDIT:** Could changes in Gemfile.lock casue this? My Gemfile.lock got 
changed, although I had reverted the changes later. It worked fine earlier.=

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/eaabca66-6c76-412f-acb4-e23328fc1f3a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Scott Ribe
On Nov 13, 2013, at 6:30 AM, Daynthan Kabilan dayantha...@gmail.com wrote:

 Hi friends,
 
 How to use javascript variables in ruby.
 
 i have activity id on a_id
 
 function(a_id)
 {
 %@foo=Activity.where(activity_id = ? , a_id)
 }
 
 how can solve it

It's not at all clear to me what you are asking, but remember:

- Ruby runs on the server;
- Javascript runs in the browser.
- Sometimes Ruby on the server is used to create/modify Javascript to be run in 
the browser.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CA4EA9DE-9178-48C9-B4C5-81B3140A974A%40elevated-dev.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Daynthan Kabilan
hi

here i have mention example code

script type=text/javascript

var js_name=daya;

%=@user=User.where(name=?, js_name%

alert(%=@user%);

/script 

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADKeJyTqA%3DZ44f1RQeTtm5j8%3DpXQMessnu%3DEpm4WTMDGu33jbA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Walter Lee Davis

On Nov 13, 2013, at 9:40 AM, Daynthan Kabilan wrote:

 hi  
 
 here i have mention example code
 
 script type=text/javascript
 
 var js_name=daya;
 
 %=@user=User.where(name=?, js_name%
 
 alert(%=@user%);
 
 /script 
 

If you're going to use Erb in your JavaScript, then you must name your file 
whatever.js.erb. Then your %= % will expand to be whatever the local value of 
@user is at the moment that script is requested. You will need a controller, 
too, and your request will need to have some context around it. If your 
controller had a respond_to block in it, and your JavaScript file was named 
sensibly for the controller method, then this would Just Work™,

respond_to do |format|
  format.js { render :layout = false }
  format.html
end

Walter

 

 -- 
 You received this message because you are subscribed to the Google Groups 
 Ruby on Rails: Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to rubyonrails-talk+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/CADKeJyTqA%3DZ44f1RQeTtm5j8%3DpXQMessnu%3DEpm4WTMDGu33jbA%40mail.gmail.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0A6EB8BA-E4BB-4726-8223-30394BA0C398%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Scott Ribe
On Nov 13, 2013, at 7:40 AM, Daynthan Kabilan dayantha...@gmail.com wrote:

 here i have mention example code

OK, evaluate that code in light of what I said previously:

- Ruby runs on the server;
- Javascript runs in the browser.

Now:

1) What do you think that code will do???
2) What are you actually trying to accomplish?

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/F12AB1F0-2F7D-4C31-B71B-608797293FA4%40elevated-dev.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] How to use javascript variables in ruby

2013-11-13 Thread Colin Law
On 13 November 2013 14:40, Daynthan Kabilan dayantha...@gmail.com wrote:
 hi

 here i have mention example code

 script type=text/javascript

 var js_name=daya;

 %=@user=User.where(name=?, js_name%

Remember the above is evaluated on the /server/ before the page is
rendered.  js_name is not meaningful at that time.

Colin

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu5JA8OhDZfu_GbAMbVc0svwdSiBKynPCq9-bVkN9pwuw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Re: has_many question

2013-11-13 Thread Dave Castellano
Posted by Colin Law (Guest) on 2013-11-12 14:56
Please quote the previous message so that the thread can be followed.
This is a mailing list not a forum, though you may be accessing it via
a forum like interface

Thanks.  Did not know this.  I see it in the form of a forum.


Unfortunately, a minisection can belong to many books, chapters, ect...
 so needs a join table and can't be flattened.

Posted by Colin Law (Guest) on 2013-11-12 14:56
That does not make sense, in your original post you implied
minisection belongs_to subsection, and so on up through the heirarchy.
 Therefore any particular minisection is associated with only one
subsection, section, chapter and so on.


So, original question...
Having several tables related by has_many and would like to find the
distant children.
eg:
Tables:
Subjects
Books
Chapters
Sections
Subsections
Minisections

They are all related heirarchichally, so book for example is related to
subjects and chapters the following way. All are related the same way.
Book
 belongs_to :subject
 has_many :chapters

So if I have the subject id, how can I find all the Minisections
belonging to that subject without adding all related table id's in each 
table?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/90f8b1d69ff472137ce8164abc1b451b%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Cannot receive from specified address Unauthenticated senders not allowed

2013-11-13 Thread Tamara Temple

On Nov 13, 2013, at 7:13 AM, Nishant Sharma nishantsharma...@gmail.com wrote:

 On trying to run a rake task via crontab, I'm getting the following error:
 
 rake aborted!
 550 Cannot receive from specified address h...@xyz.com: Unauthenticated 
 senders not allowed

You should check that h...@xyz.com is in fact authenticated — make sure 
ENV['SENDGRID_USER'] and ENV['SENDGRID_PASSWORD'] are indeed correctly set in 
your production environment prior to starting up Rails.



 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in
  `block in deliver!'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:128:in
  `deliver!'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:1989:in
  `do_delivery'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:230:in
  `block in deliver'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/actionmailer-3.1.10/lib/action_mailer/base.rb:432:in
  `block in deliver_mail'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications.rb:53:in
  `block in instrument'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications/instrumenter.rb:21:in
  `instrument'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications.rb:53:in
  `instrument'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/actionmailer-3.1.10/lib/action_mailer/base.rb:430:in
  `deliver_mail'
 
 /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:230:in
  `deliver'
 
 /mnt/voylla-production/releases/2013011431/app/controllers/admin/order_query_controller.rb:255:in
  `send_last_2_days_orders'
 
 /mnt/voylla-production/releases/2013011431/lib/tasks/env_setup.rake:116:in
  `block (2 levels) in top (required)'
 Tasks: TOP = maintenance:last_2_days_orders
 (See full trace by running task with --trace)
 
 
 My production.rb is:
 
 config.action_mailer.delivery_method = :smtp
 config.action_mailer.raise_delivery_errors = true
 config.force_ssl = false
 config.i18n.fallbacks = true
 config.active_support.deprecation = :notify
 config.action_mailer.default_url_options = {:host ='xyz.com'}
 config.action_mailer.smtp_settings = {
   :address= 'smtp.sendgrid.net',
   :port   = '587',
   :authentication = :plain,
   :user_name  = ENV['SENDGRID_USERNAME'],
   :password   = ENV['SENDGRID_PASSWORD'],
   :domain = 'xyz.com'
 }
 config.action_mailer.delivery_method = :smtp
 config.action_mailer.raise_delivery_errors = true
 config.action_mailer.default :from = xyz Help h...@xyz.com
 config.mailer_sender = xyz Help h...@xyz.com
 config.action_mailer.default_url_options = { :host = xyz.com }
 
 
 I've looked through similar posts, and I feel my production.rb is configured 
 correctly. So, I'm not able to figure out what's the problem.
 
 Please could someone help. Thanks
 
 **EDIT:** Could changes in Gemfile.lock casue this? My Gemfile.lock got 
 changed, although I had reverted the changes later. It worked fine earlier.=
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Ruby on Rails: Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to rubyonrails-talk+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/eaabca66-6c76-412f-acb4-e23328fc1f3a%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0DA9139A-2D9D-4FEF-8B8C-9BEE6D257138%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.