Upgrading
Rails Designer is packaged as a (private) gem, so updating is the same as any other gem you have installed.
Steps to upgrade
- Update the Gemfile: Open your application’s Gemfile and locate the
rails_designer
gem declaration inside the custom source block. Update the version specifier from~> 1.9.0
(previous version) to~> 1.10.0
(latest version) as shown below:
source "https://get.railsdesigner.com/private" do
gem "rails_designer", "~> 1.10.0"
end
- Bundle: Run the following command in your terminal to update the
rails_designer
gem to version1.10.0
.
bundle
That’s it!
Update a component
If a component that’s already in your app was updated, run the generator and use Git to spot the differences between “yours” and “theirs”.
Post-upgrade steps
- Test your application thoroughly to ensure that the upgrade did not introduce any UI regressions or compatibility issues;
- Consult the changelog for version
1.10.0
to learn about new features, improvements, and any necessary changes to your application code.