You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling attribute within a class that inherits from ActiveRecord::Base lets you override the types defined in db/schema.rb, or define transient attributes (attributes stored on instances that aren't saved back to the database). The same API is also usable under Active Model. It'd be really good if solargraph-rails could support this.
The text was updated successfully, but these errors were encountered:
Calling
attribute
within a class that inherits fromActiveRecord::Base
lets you override the types defined indb/schema.rb
, or define transient attributes (attributes stored on instances that aren't saved back to the database). The same API is also usable under Active Model. It'd be really good ifsolargraph-rails
could support this.The text was updated successfully, but these errors were encountered: