README.rdoc in serializer-0.0.9 vs README.rdoc in serializer-1.0.0

- old
+ new

@@ -6,15 +6,12 @@ The gem is tested with: * Ruby (MRI) 2.0.0 * Ruby (MRI) 1.9.3 -* Ruby (MRI) 1.9.2 -* Ruby (MRI) 1.8.7 -* Ruby (REE) 1.8.7 -* JRuby 1.7.2 -* Rubinius 1.2.4 +* JRuby 1.7.6 +* Rubinius 2.1.1 == Installation gem install serializer @@ -25,34 +22,32 @@ rails g model user name:string email:string settings:text Model: class User < ActiveRecord::Base - + has_serialized :settings do |settings| settings.define :tw_share, type: :boolean, default: true settings.define :fb_share, type: :boolean, default: true settings.define :completion, type: :float, default: 50.0 end - + end - + Form: <%= form_for @user do |form| %> <%= form.text_field :name %> <%= form.email_field :email %> <%= form.checkbox_box :tw_share %> <%= form.checkbox_box :fb_share %> <% end %> - -View: +iew: <%- if @user.tw_share? -%> ... <%- end -%> - - <%- if @user.fb_share? -%> + <%- if @user.fb_share? -%> ... <%- end -%> == Status