Hi,
Everyone can help me on how to select a text in one Field, see the list
below;
table : tablename1
field : field1
data : {:updated=>"2009-01-02",
:created=>"2009-01-01", :price=>100.00}
inside may task:
tablename1.all.each { |tablename1|
unless translations.flatten.any? {|t| t == tablename1.field1}
puts "#{tablename1.field1}"
unused += 1
end
}
I need only to display the data which are 2009-01-01 under :created=>,
and 100.00 under :price=>.
Thanks in Advance,
Ferdie
--
Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---