Skip to content
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

Use middleware; include schema definitions in dump; minor cleanups #2

Merged
merged 11 commits into from
Aug 29, 2015

Commits on Aug 28, 2015

  1. remove ‘pry’ dependency

    ronen committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    c98f4ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51584b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f3f4e4 View commit details
    Browse the repository at this point in the history
  4. Simplify query code.

    No need to go through arel and bindings since it’s hardwired SQL; use higher-level connection.exec_query method for simpler API
    ronen committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    e2e4a8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dc71f75 View commit details
    Browse the repository at this point in the history
  6. Spec cleanup: add (multi)schema support methods.

    In particular, with_schemas([names]) is a wrapper creates the schemas and sets the search path, and cleans up after itself:  removes all tables in those schemas as well as the schema definitions themselves
    ronen committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    ef79d64 View commit details
    Browse the repository at this point in the history
  7. Spec cleanup: Make separate schema definitions for each context rathe…

    …r than one global schema for all examples.
    ronen committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    7e972bc View commit details
    Browse the repository at this point in the history
  8. Add spec for connection.tables

    ronen committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    a759df7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    651d4b5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3ab67a8 View commit details
    Browse the repository at this point in the history
  11. Update doc to describe change to connection.tables, and including the…

    … schema setup in the dump.
    ronen committed Aug 28, 2015
    Configuration menu
    Copy the full SHA
    fb9ee2c View commit details
    Browse the repository at this point in the history