demo/app/models/user.rb in bootstrap_form-4.1.0 vs demo/app/models/user.rb in bootstrap_form-4.2.0
- old
+ new
@@ -4,6 +4,8 @@
validates :email, presence: true, length: { minimum: 5 }
validates :terms, acceptance: { accept: true }
has_one :address
accepts_nested_attributes_for :address
+
+ has_rich_text(:life_story) if Rails::VERSION::STRING > "6"
end