meta_where icon indicating copy to clipboard operation
meta_where copied to clipboard

ActiveRecord 3 query syntax on steroids. Not currently maintained.

Results 10 meta_where issues
Sort by recently updated
recently updated
newest added

# I had some trouble to find this out myself, so I'll post it here for whomever it might concern: - MetaWhere development has ceased for a long time. [explanation...

The bullet describing the "=~" operator was being interpreted as a header eliminating the equal sign causing confusion.

First of all, I would like to express my love for meta_where. I switched it off for debugging this issue and realized how more elegant is the syntax and the...

Given posts with ids [1,2,3] When I do Post.where(:id.not_in => []) I expect result to be [1,2,3]. The current generated query is SELECT `posts`.\* FROM `posts` WHERE `posts`.`id` NOT IN...

Without meta_where: ``` ruby > (UserVote.joins(:user) & User.verified).to_sql => "SELECT `votes`.* FROM `votes` INNER JOIN `users` ON `users`.`id` = `votes`.`user_id` WHERE `votes`.`type` = 'UserVote' AND (verified_at is not null)" ```...

This may just be me being dense, but I'm having trouble getting Metawhere to look at other column values in the same row during a comparison. I'm using 1.0.4 The...

Not sure if I'm missing something or just can't figure it out, but I'm trying to create a where clause in MetaWhere that finds what I call "odometer entries" whose...

Here is what I tried: http://stackoverflow.com/questions/6207545/how-do-i-search-through-associations-in-metawhere-in-rails-3 I read the following documentation and tried to follow it: http://metautonomo.us/projects/metawhere/ Thanks! Just trying to make the translation of everything in my app....

First off, I love, love, love MetaWhere! Second, I'm trying to return a count with groupings and SQL functions: ``` ruby Client.select(:year[:date_of_birth].as('age')).group(:county, :age) ``` ... works great. But adding .count...

Attempting to use the 'Intelligent hash condition mapping' I was trying to get the following SQL: ``` SELECT histories.*, count(*), sum(vendor_earnings) FROM `histories` ``` so I tried the following: ```...