Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Active Record is a pattern that combines domain logic with storage abstraction in single object.
3
votes
1
answer
1k
views
Cleaning parameters before passing them to a model
I'm writing an API and want to be able to pass in the attributes of a model without prefixing them with the name of the model.
I wrote this little extension to ActiveRecord in order to make it happen …
3
votes
1
answer
871
views
Protecting certain model attributes from being exposed in an API
There can be a business or security requirement that certain fields on a model should never be exposed in an API. One approach to this is to tell the developers not to ever put the field in the API ou …