We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
all local db model use ActiveRecord::Base.connection. EX: class Foo < ActiveRecord::Base end class Bar < ActiveRecord::Base end
Foo.connection.object_id == Bar.connection.object_id
so readonly model also need this.
class Foo < ActiveRecord::Base acts_as_readonly :other end
class Bar < ActiveRecord::Base acts_as_readonly :other end
Foo.connection.object_id.should == Bar.connection.object_id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
all local db model use ActiveRecord::Base.connection.
EX:
class Foo < ActiveRecord::Base
end
class Bar < ActiveRecord::Base
end
Foo.connection.object_id == Bar.connection.object_id
so readonly model also need this.
class Foo < ActiveRecord::Base
acts_as_readonly :other
end
class Bar < ActiveRecord::Base
acts_as_readonly :other
end
Foo.connection.object_id.should == Bar.connection.object_id
The text was updated successfully, but these errors were encountered: