Skip to content

Commit

Permalink
update readme with upgrading notes
Browse files Browse the repository at this point in the history
  • Loading branch information
agustibr committed Sep 17, 2018
1 parent cc5471e commit 3d8736f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,28 @@ And then execute:
```bash
$ bundle
```

## Upgrading

from decidim `0.11` to `0.12`
When upgrading `decidim-sabarca` from version `0.5.0` to `0.9.0` you will also be
upgrading `decidim` version from `0.9.3` to `0.13.1`, the next upgrade notes are
from Decidim's changelog (Connect to your server and run this on your `rails console`):

upgrading Decidim from `0.11` to `0.12`:

```
Decidim::Organization.find_each { |organization| Decidim::System::CreateDefaultPages.call(organization) }
Decidim::Meetings::Meeting.find_each(&:add_to_index_as_search_resource)
Decidim::Proposals::Proposal.find_each(&:add_to_index_as_search_resource)
```

upgrading Decidim from `0.12` to `0.13`:

```
Decidim::User.find_each do |user|
user.avatar.recreate_versions! if user.avatar?
end
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion app/views/decidim/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="field">
<%= f.email_field :email %>
</div>
<% console %>

<div class="field">
<%= f.password_field :password, autocomplete: "off" %>
</div>
Expand Down

0 comments on commit 3d8736f

Please sign in to comment.