inline_forms 5.0.4 → 5.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjQyYjlmMjNjZmUwNjZmY2ZiYTdmYTFlYmI0ZDM5ODdmZThjM2I5YQ==
4
+ N2FkOTQ2NGEyMTFhMTVhNDg0NDNkNDIzMDA0NjMxNGQxYjg5YTIxZg==
5
5
  data.tar.gz: !binary |-
6
- OTU5YWZhNTdjMmIyNGMzMjRkMWEzYzczZDY1YzlmOTVhNTE2MDM0Nw==
6
+ NjJmMmY3NDhiMDk2ZjFjZmM4ZGQ0ZTlhNWM2YzUxZjlkZjliZDM1Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjRhYjkyNTk1OWUxYTIyOWUyOTM1ZjkyYThiNWQxYzEwMDZiN2NlYjQwYzlj
10
- OTJkYzYyNDhhZjJjMDQzOTg4ZDUwMTNhOWMwMWM4ODRkYTJlNGIyMjllMDA1
11
- NDJmODAzNGM5NjMzNTAxYzcyYTUxOWQ4ZTU2YjQyMmIxMzY1ZTg=
9
+ MGNkNWVkMTcwYzZlNDUzYmU3ZTNhOWZhMDkwN2ExOWY2NTQ0Zjk5YzIwMDhh
10
+ YjUzNzZiMTZjM2JhY2NkYmIzZmY5MzQ0MmRiZmQxMGEzZWFiZmQ2MGIxZjY3
11
+ NTAyOWExMGM0NjM0ZTExYWQzYzVjNTc3OGFhNjQ1MzY3MDlkOWE=
12
12
  data.tar.gz: !binary |-
13
- NjI1ZjgxMWJiYjYzMzM1NWFiMzU1ZDcwNjEzZWU0Yjk4OGI3ZmUxNjI3YWYz
14
- MTMzZGJlYzFiZWU0Y2VjNzRkYzg4OWJmOTkzMDkzZDM5NDhlZDk3NTg4OWNj
15
- NDc5YTgzY2EzMmQ4MWQyMjA2YmYxMWRhZDA2NzQ3ZTFjNjc5N2U=
13
+ MDE5OTM4Y2UwYTg3ZTdiNTkxMGNhNDEyMzA3OWYyMTE4OGUxYWIwYzZkNTYw
14
+ ZjVjYTMwY2Q0Mzg2ZWNmY2EyZjFlM2E0NWE1NGViODYwMzY3NzU1NjJiNTdj
15
+ MDE4Yjc0NTBmNDllODViZjNiMGI3ZWU2YWFmOGFiZTk4MDM3MDk=
@@ -172,7 +172,7 @@ create_file "app/models/user.rb", <<-USER_MODEL.strip_heredoc
172
172
 
173
173
  # Setup accessible (or protected) attributes for your model
174
174
  attr_writer :inline_forms_attribute_list
175
- attr_accessible :email, :password, :locale, :remember_me
175
+ #attr_accessible :email, :password, :locale, :remember_me
176
176
 
177
177
  belongs_to :locale
178
178
  has_and_belongs_to_many :roles
@@ -180,7 +180,7 @@ create_file "app/models/user.rb", <<-USER_MODEL.strip_heredoc
180
180
  # validations
181
181
  validates :name, :presence => true
182
182
 
183
- default_scope order :name
183
+ default_scope {order :name}
184
184
 
185
185
  # pagination
186
186
  attr_reader :per_page
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "5.0.4"
3
+ VERSION = "5.0.6"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.4
4
+ version: 5.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares