Displaying 3 results from an estimated 3 matches for "active_form".
2010 Aug 16
2
Form validation and processing w/o model (no Db/ActiveRecord)
...on this than the benefit warrants.
All am looking to do is receive and validate form input, and ideally have
the luxuries like Class.new(params[:object]),
Class.update_attributes(params[:object]), and for the form to do similar
highlighting and error feedback messages as AR.
I found this plug-in: active_form (http://github.com/nesquena/active_form).
Wondering if anyone has used or has better ideas.
David
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6Z...
2005 Dec 16
4
Validation with Aggregation
ActiveRecord supports composed_of for value objects which is
fantastic but one thing that it doesn''t seem to support (or at least
I am unable to find any documentation for) validation of the value
objects.
For example, given the following:
class Message < ActiveRecord::Base
composed_of :sender, :class_name => ''EmailAddress''
composed_of :recipient,
2007 Oct 14
3
ActiveRecord and Form Data Coupling: A Bad Design
I have to say that after being a Rails user for some time I have grown
to really dislike how ActiveRecord (AR) classes - models - are being
pushed as the defacto method for getting form data into the DB. The
two concepts are completely separate and should be handled by
completely different classes.
Anyone who understands Object Oriented Design knows that we separate
classes based on