Hi Sijo,

I'm sorry but I don't understand what you are trying to do. Are you
trying to insert a string representing a regexp in a field in your
database? Are you trying to validate a value that goes into a field
with what looks like a regular expression? What do you mean by 'a
regexp to make pass this? What is "this"?

Pepe

On Sep 3, 1:02 am, Sijo Kg <rails-mailing-l...@andreas-s.net> wrote:
> Hi
>    I have a name field And it has no validation And when I update that
> field with this
>
> !...@#$%^&*()_+|}{":?><,./;'[]\
>
> It gives error
> /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:557:in
> `transaction'
> /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:129:in
> `transaction'
> -------------
>
>        Could anybody please suggest a regex to make pass this?
>
> 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