On Tue, Sep 20, 2011 at 20:43, Peter Vandenabeele <pe...@vandenabeele.com>wrote:

> 2011/9/17 J. Pablo Fernández <pup...@pupeno.com>
>
>> Hello,
>>
>> Every now and then, I use a web app and it tells me that this or that
>> field is invalid. Generally it's an email address that doesn't accept a plus
>> before the @, or a phone number that doesn't accept well formated
>> international phone numbers (starting with a plus, containing hyphens) or
>> maybe it fails to deal with my name or last name which contain this terrible
>> characters: é and á. Of course, the developed failed here.
>>
>> Generally I try to have my validations be much better about it, but I'm
>> sure that I'm not inmune to the issue of rejecting valid data. What concerns
>> me is that, unlike exceptions, for which I get an email, I'll never know
>> about this issues unless a user tells me, and they rarely do.
>>
>> So, I was thinking, wouldn't it be nice if Rails automatically saved the
>> attributes of an object to the database when the validations fail? I suppose
>> a gem could do it by monkey-patching validate or something like that and I'm
>> also sure I'm not the first one to think of this.
>>
>> Does anybody know if that gem already exists? If not, I'll give it a try.
>> What do you think about this feature? Does it sound useful?
>>
>
>
> http://addons.heroku.com/tripwire
>
> "... Have you ever filled out a form only to have it rejected because of an
> unexpected, overly-restrictive validation error? It's frustrating and
> annoying, and it probably happens to your users too.
>
> Tripwire shows you the validation errors your users are experiencing,
> giving you a new way to uncover UX issues in your app. ..."
>
> Seems pretty much what you asked for.
>

Indeed it does. I don't get it why it's a Heroku addon and not just a simple
plain gem.

-- 
J. Pablo Fernández <pup...@pupeno.com> (http://pupeno.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