This repository was archived by the owner on May 6, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ for developers and maintainers who need to understand the implications of these
1616
1717### Major Framework Upgrades
1818
19- - ruby ` " >= 3.3.1" ` → ` ">= 3.3.7", "< 3. 4.0" `
19+ - ruby ` >= 3.3.1 ` → ` ~> 3.4.0`
2020 - Added upper bound to Ruby version
21- - rails ` " ~> 6.1.7.10" ` → ` "~> 7.2.2.1" `
21+ - rails ` ~> 6.1.7.10 ` → ` 7.2.2.1 `
2222 - Major framework upgrade
23- - rack ` " ~> 2.2.3" ` → ` "~> 3.1.3" `
23+ - rack ` ~> 2.2.3 ` → ` >= 3.1.3`
2424
2525### Breaking Changes
2626
@@ -190,6 +190,24 @@ import "../src/easy_legacy_js/context_menu";
190190- Move legacy JavaScript files to ` app/frontend/src/easy_legacy_js/ `
191191- Import them in ` app/frontend/entrypoints/easy_legacy_js.js `
192192
193+ #### 2. Inheriting ActiveRecord models from ApplicationRecord
194+
195+ All ActiveRecord models should now inherit from ` ApplicationRecord ` instead of ` ActiveRecord::Base ` .
196+
197+ ** Before:**
198+ ``` ruby
199+ class User < ActiveRecord ::Base
200+ # ...
201+ end
202+ ```
203+
204+ ** After:**
205+ ``` ruby
206+ class User < ApplicationRecord
207+ # ...
208+ end
209+ ```
210+
193211### Recommendations for Upgrading
194212
1952131 . ** Test thoroughly** - The framework changes are substantial and require extensive testing
You can’t perform that action at this time.
0 commit comments