In mongoid, a ORM mapped database object 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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0e81b056-62c2-403b-aed1-a4e6892a4648%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to