Class: ModelStubs::ModelStub
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ModelStubs::ModelStub
- Defined in:
- lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/constraints_test.rb
Direct Known Subclasses
Address, OtherAddress, OtherRole, OtherService, OtherSubscription, OtherUser, Role, Service, Subscription, User
Class Method Summary collapse
Methods inherited from ActiveRecord::Base
#associated_valid?, #no_errors_in_associated?, #save_associated, #save_associated!, #save_with_unsaved_flag, #to_label, #unsaved=, #unsaved?
Class Method Details
.columns ⇒ Object
6 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/constraints_test.rb', line 6 def self.columns; [ActiveRecord::ConnectionAdapters::Column.new('foo', '')] end |
.table_name ⇒ Object
7 8 9 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/constraints_test.rb', line 7 def self.table_name to_s.split('::').last.underscore.pluralize end |