Jonathan Weiss

Results 18 comments of Jonathan Weiss

Yes, Webistrano has an API. It follows the default Rails RESTful API, e.g. /projects/1/stages.xml etc But I think there is no API call to pre-fill HTML forms. You could easily...

Which version of SimplyStored are you using? This feature was just recently committed and is only available in 0.3.4 which i just pushed.

I'm not sure how you would use it. We use the views to load associations on demand, e.g. user.comments will load all comment objects and comment.user will load the user...

Yes, but it only works for the belongs_to, so in your example probably the person has_one address and the address belongs_to a person. If you display a list of persons...

This works for me: ``` #!/usr/bin/env ruby require 'rubygems' gem 'rails', '3.0.0' require 'simply_stored/couch' CouchPotato::Config.database_name = 'test_foo' class Account include SimplyStored::Couch property :name property :type validates_inclusion_of :type, :in => ["a","b"]...

There is nothing wrong with calling `User.find_by_email('[email protected]')`. The warning just tells you that you probably want to define the view in the model so that it is obvious what views...

BTW once you called the method the first time, it gets defined, so there is nothing slow about it. In CouchDB you cannot do fully dynamic queries. You would need...

I've recently also run into this and the problem is as you said that CouchPotato casts on assignment. I'll see that I talk to Alex of CouchPotato. The only good...