-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scopes and building smart where objects closes #386 #748
Commits on Jul 5, 2013
-
Several things in this commit: 1. New scope() functionality, works ve…
…ry similar to ActiveRecord's scope. 2. Big internal changes (but as of right now only related to scope()) made for the {where} object when using finders. Could be useful for some, it basically breaks down several where objects into one concise object. 3. New where finders.. 'eq', 'like', 'nlike', 'notlike', and 'not' (not in). 4. New finder shortcuts, '..' for between and '..' for not between
Configuration menu - View commit details
-
Copy full SHA for 2a5336a - Browse repository at this point
Copy the full SHA 2a5336aView commit details
Commits on Jul 9, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 479cfde - Browse repository at this point
Copy the full SHA 479cfdeView commit details -
Added one more test spec as well as checking for access_level in one …
…of the specs to make sure that we're getting the right information back.
Configuration menu - View commit details
-
Copy full SHA for 81a2e3c - Browse repository at this point
Copy the full SHA 81a2e3cView commit details
Commits on Jul 11, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 11adc6f - Browse repository at this point
Copy the full SHA 11adc6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00c856c - Browse repository at this point
Copy the full SHA 00c856cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a926a - Browse repository at this point
Copy the full SHA f7a926aView commit details -
Cleaned up the scopes code a bit, added more specs involving non exis…
…ting scopes as well as a {silent} options as the last argument.
Configuration menu - View commit details
-
Copy full SHA for 7484ade - Browse repository at this point
Copy the full SHA 7484adeView commit details
Commits on Jul 13, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 4914341 - Browse repository at this point
Copy the full SHA 4914341View commit details
Commits on Jul 16, 2013
-
Configuration menu - View commit details
-
Copy full SHA for ba591e9 - Browse repository at this point
Copy the full SHA ba591e9View commit details -
Cleaned up scopes/smartwhere, added another spec to make sure SQL is …
…escaped, and fixed potential SQL injection problem with sqlite
Configuration menu - View commit details
-
Copy full SHA for 3654655 - Browse repository at this point
Copy the full SHA 3654655View commit details