KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Not sure why I can't find out how to do this easily... Obviously I could do it with raw SQL, but I'm trying to familiarize myself with ActiveRecord. results = Model.where(:lat => (south..north), :lng => (east..west)) I don't want all the fields, just a few. How would I limit the results to only include columns I choose?
Tags (comma-separated)
Save Edits
Cancel