I am getting the following error when I try to send an email using the ar_mailer: Unhandled exception wrong number of arguments (7 for 6) (ArgumentError): I found an article that stated the following "My problem is the number of arguments passed for mail account configuration in environment.rb does not match the number of arguments that ar_sendmail required (6 for 7 as you see in the error message). The solution is: make them match either by providing the all required arguments or delete those unavailable arguments (for you) in the ar_sendmail function." I am new to RoR and need a little help with what I should do to fix this problem. Thank you, Sean McGIlvray --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I guess you have installed Ruby 1.8.7 if so, install 1.8.6 and try it again Regards On Mon, Mar 9, 2009 at 8:03 PM, Sean McGilvray <smcgilvray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I am getting the following error when I try to send an email using the > ar_mailer: > > Unhandled exception wrong number of arguments (7 for 6) > (ArgumentError): > > I found an article that stated the following > > "My problem is the number of arguments passed for mail account > configuration in environment.rb does not match the number of arguments > that ar_sendmail required (6 for 7 as you see in the error message). > > The solution is: make them match either by providing the all required > arguments or delete those unavailable arguments (for you) in the > ar_sendmail function." > > I am new to RoR and need a little help with what I should do to fix > this problem. > > Thank you, > > Sean McGIlvray > > >-- /** * dagi3d v4 | http://dagi3d.net */ --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Borja Martín: If I am on a shared hosting how do I use 1.8.6 instead of 1.8.7? Sean On Mon, Mar 9, 2009 at 7:31 PM, Borja Martín <borjam-v796FXedN1GsTnJN9+BGXg@public.gmane.org> wrote:> I guess you have installed Ruby 1.8.7 > if so, install 1.8.6 and try it again > > Regards > > On Mon, Mar 9, 2009 at 8:03 PM, Sean McGilvray <smcgilvray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> >> I am getting the following error when I try to send an email using the >> ar_mailer: >> >> Unhandled exception wrong number of arguments (7 for 6) >> (ArgumentError): >> >> I found an article that stated the following >> >> "My problem is the number of arguments passed for mail account >> configuration in environment.rb does not match the number of arguments >> that ar_sendmail required (6 for 7 as you see in the error message). >> >> The solution is: make them match either by providing the all required >> arguments or delete those unavailable arguments (for you) in the >> ar_sendmail function." >> >> I am new to RoR and need a little help with what I should do to fix >> this problem. >> >> Thank you, >> >> Sean McGIlvray >> >> > > > -- > /** > * dagi3d v4 | http://dagi3d.net > */ > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---