Eric Peterson

Results 6 issues of Eric Peterson

I'm trying to pull records that have multiple reputation types e.g. retrieve Books with both avg_rating and num_readers ``` my_books = Book.find_with_reputation(:avg_rating, :all, {:order => 'avg_rating DESC'}) my_books = Book.find_with_reputation(:num_followers,...

SHORTENED FOR BREVITY: Basically, this error can occur if the reputation model is defined using invalid syntax... HOWEVER, It can also apparently occur when syntax is kosher according to the...

Is there a more current resource for filtering known bots? Seems like a worthy integration.

How should one implement ajaxful-ratings' 'ratings_for' for a new (RESTful) object? i.e. I'd like to call 'ratings_for' in the form that initializes an object (e.g. /microposts/new). [The object would not...

Making a model sluggable appears to force the use of the slug in routing, rather than making it an option. Is it possible to use the slug -or- (not instead...

Any hints on how to translate something like this to Swagger-Blocks? ``` 200: description: Returns the CORS response headers headers: Access-Control-Allow-Origin: type: string Access-Control-Allow-Credentials: type: boolean Access-Control-Allow-Headers: type: array collectionFormat:...