Thanks for your answer. I will try the properties_with_values method to see if it returns what I want.
Best regards Matt Jones wrote in post #1061503: > On Monday, 21 May 2012 01:02:43 UTC-5, Ruby-Forum.com User wrote: >> property :first_name, String >> >> Any idea/suggestion to solve this problem? >> >> > I haven't used CouchRest, but a quick skim of this: > > https://github.com/couchrest/couchrest_model/blob/master/lib/couchrest/model/properties.rb > > seems to indicate that what you're looking for could be accomplished > with: > > BdsDataAuthor.properties_by_name.keys > > --Matt Jones -- 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@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.