Skip to content

Commit 71ce7db

Browse files
committed
Add a guide for Migrating to v1
This intends to document everything we've heard as reported issues, to try and help users migrate as easily as possible. It will collect a few issues before being merged, but this started with documenting the transitive dependency on `sprockets-rails`. Closes #2514
1 parent 50f91fc commit 71ce7db

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/migrating-to-v1.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Migrating to v1
3+
---
4+
5+
In the release of v1.0.0, we [began bundling assets in the gem itself][2397].
6+
In future, this should mean that changes to the way you, or Administrate
7+
manages assets should not have an effect on you. However, this is quite a big
8+
change and so you might find some problems.
9+
10+
[2397]: https://github.com/thoughtbot/administrate/pull/2397
11+
12+
## Reported Issues
13+
14+
### Removal of the `sprockets-rails` transitive dependency
15+
16+
[Issue][2514]
17+
18+
Previously, Administrate depended on [`sprockets-rails`][], if you have a
19+
dependency which requires this, you may now need to add a direct dependency on
20+
your application.
21+
22+
[2514]: https://github.com/thoughtbot/administrate/issues/2514
23+
[`sprockets-rails`]: https://rubygems.org/gems/sprockets-rails

spec/example_app/app/views/layouts/docs.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
<ul class="sidebar-links">
2727
<li><a href="/getting_started">Getting Started</a></li>
28+
<li><a href="/migrating-to-v1">Migrating to v1</a></li>
2829
<li><a href="/customizing_dashboards">Customizing Dashboards</a></li>
2930
<li><a href="/customizing_page_views">Customizing Page Views</a></li>
3031
<li><a href="/customizing_attribute_partials">Customizing Attribute Partials</a></li>

0 commit comments

Comments
 (0)