N/M. Realized that you were talking about the factory-girl gem.

On Jun 2, 11:36 am, Mukund <marut...@yahoo.com> wrote:
> Move that to a module and include it as a mixin in your model?
>
> On Jun 2, 10:00 am, Sijo Kg <rails-mailing-l...@andreas-s.net> wrote:
>
> > Hi
> >     In the model I have User
> > attr_accessor :validate_email_id
> > validates_presence_of :email ,:if => :validate_email_id
> >   Could anybody please tell me how can I define a Factory for the above?
>
> > Thanks in advance
> > Sijo
> > --
> > Posted viahttp://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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to