Displaying 2 results from an estimated 2 matches for "embedded_in".
Did you mean:
embedded2i
2013 Oct 23
2
how is mongoid syntax implemented ?
...t is like below. The part "type:
String" seems to me to not fit into any standard ruby syntax and I was
curious how does mongoid implement that ?
class Step
include Mongoid::Document
field :Label, type: String
field :Descript, type: String
field :ErrorText, type: String
embedded_in :step_data
end
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To...
2011 Dec 22
0
mongodb Map/reduce grouping
Hi,
I have two model, challenge(embeds_many :tasks) and task(embedded_in
:challenge),
finally database structue is like this
{ "_id" : ObjectId("4db8b0524f0b495c3a7dbba4"), "title" : "Testing1",
"created" : ISODate("2011-12-12T00:00:00Z"),
"tasks" : [
{
"name" : &quo...