Flowdock
method

where_values_hash

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActiveRecord::Relation
where_values_hash(relation_table_name = table_name) public

Returns a hash of where conditions.

User.where(name: 'Oscar').where_values_hash
# => {name: "Oscar"}
Show source
Register or log in to add new notes.