Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Allow AR objects to survive an `include Pacecar` if the table doesn't exist yet #2

rmm5t opened this Issue Sep 24, 2009 · 1 comment


None yet
2 participants

rmm5t commented Sep 24, 2009

Please pull this branch:

Relevant commit:

  • Problem exposes itself when an AR object includes Pacecar, and also has an
    Observer tied to it (loading the model early). Upon an initial db:migrate, by
    loading the model early, Pacecar would raise an error that the table doesn't
    exist when defining the order scopes.
  • The column_names method in Pacecar::Helpers::ClassMethods was inaccessible
    because AR::Base already defines it.
  • Test included.

mjankowski commented Sep 24, 2009

All set.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment