ni8mare
2012-Sep-20 05:02 UTC
Storing attributes and values dynamically to an hstore column
I want to store data in an hstore column but I want the user to input attribute dynamically. Like {"x" => "y"} is stored where user enters both x and y. how can I do that? -- 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/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/DguA_Ls4IlQJ. For more options, visit https://groups.google.com/groups/opt_out.
iGbanam
2012-Sep-20 09:17 UTC
Storing attributes and values dynamically to an hstore column
I worked on a gem that allows you do just this a while ago. Once I find where the source is stashed, I''ll post it up -- 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/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/R-1sxrDjqnwJ. For more options, visit https://groups.google.com/groups/opt_out.
ni8mare
2012-Sep-20 09:40 UTC
Re: Storing attributes and values dynamically to an hstore column
Thanks On Thursday, 20 September 2012 14:47:24 UTC+5:30, iGbanam wrote:> > I worked on a gem that allows you do just this a while ago. Once I find > where the source is stashed, I''ll post it up-- 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/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/R6YzEEIXV-EJ. For more options, visit https://groups.google.com/groups/opt_out.