On 11 Sep 2008, at 09:56, Sijo Kg wrote:

>
> Hi
>   Thanks for the reply..I can call the first like
> MailSendingProblem.send_mail_to_all_contacts(@problem)  upto that it  
> is
> Ok But it does not call the private method So need I to make the above
> private method public or any other solution?

Like I said you can't call an instance method without an instance.  
It's like trying to say ActiveRecord::Base.reload - it doesn't make  
any sense - you can only call that on an instance.

Fred

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to