Acticve Record class in Module

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:innewsletter_form’

ok
so i need your help
how can i do the validations ?
tell me
ok
bye

By
P.S.Hussain

Mohamed H. 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:innewsletter_form’

you should paste some code if u need help - no one can blind guess a
bug

;p

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs