README.md in rails-settings-cached-0.6.5 vs README.md in rails-settings-cached-0.6.6
- old
+ new
@@ -7,11 +7,11 @@
setting that you dont want to hard code into your rails app. You can store any kind
of object. Strings, numbers, arrays, or any object.
## Status
-[![Gem Version](https://badge.fury.io/rb/rails-settings-cached.svg)](https://rubygems.org/gems/rails-settings-cached) [![CI Status](https://api.travis-ci.org/huacnlee/rails-settings-cached.svg)](http://travis-ci.org/huacnlee/rails-settings-cached) [![Code Climate](https://codeclimate.com/github/huacnlee/rails-settings-cached/badges/gpa.svg)](https://codeclimate.com/github/huacnlee/rails-settings-cached) [![codecov.io](https://codecov.io/github/huacnlee/rails-settings-cached/coverage.svg?branch=master)](https://codecov.io/github/huacnlee/rails-settings-cached?branch=master)
+[![Gem Version](https://badge.fury.io/rb/rails-settings-cached.svg)](https://rubygems.org/gems/rails-settings-cached) [![CI Status](https://travis-ci.org/huacnlee/rails-settings-cached.svg)](http://travis-ci.org/huacnlee/rails-settings-cached) [![Code Climate](https://codeclimate.com/github/huacnlee/rails-settings-cached/badges/gpa.svg)](https://codeclimate.com/github/huacnlee/rails-settings-cached) [![codecov.io](https://codecov.io/github/huacnlee/rails-settings-cached/coverage.svg?branch=master)](https://codecov.io/github/huacnlee/rails-settings-cached?branch=master)
## Setup
Edit your Gemfile:
@@ -251,10 +251,10 @@
app/views/admin/settings/edit.html.erb
```erb
<%= form_for(@setting, url: admin_setting_path(@setting.var), method: 'patch') do |f| %>
<label><%= @setting.var %></label>
- <%= f.textarea :value, rows: 10 %>
+ <%= f.text_area :value, rows: 10 %>
<%= f.submit %>
<% end %>
```
Also you may use [rails-settings-ui](https://github.com/accessd/rails-settings-ui) gem