Dear friends
I have on problem
actually i have one table called user_details.
i have one model for that table.For this table i want to do two
different validations in the model,so i used modules but it is
working,it just throwing an
error like
:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
`const_missing''
#{RAILS_ROOT}/app/controllers/signin_controller.rb:235:in
`newsletter_form''
ok
so i need your help
how can i do the validations ?
tell me
ok
bye
By
P.S.Hussain
--
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 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
-~----------~----~----~----~------~----~------~--~---
Mohamed Hussain wrote:> Dear friends > I have on problem > actually i have one table called user_details. > i have one model for that table.For this table i want to do two > different validations in the model,so i used modules but it is > working,it just throwing an > error like > > :/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in > `const_missing'' > #{RAILS_ROOT}/app/controllers/signin_controller.rb:235:in > `newsletter_form''you should paste some code if u need help - no one can blind guess a bug ;p -- 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 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 -~----------~----~----~----~------~----~------~--~---