Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove not using of yell_for_non_accessible_fields #3249

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/rails_admin/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ class << self
attr_accessor :navigation_static_links
attr_accessor :navigation_static_label

# yell about fields that are not marked as accessible
attr_accessor :yell_for_non_accessible_fields

# Setup authentication to be run as a before filter
# This is run inside the controller instance so you can setup any authentication you need to
#
Expand Down Expand Up @@ -271,7 +268,6 @@ def models
def reset
@compact_show_view = true
@browser_validations = true
@yell_for_non_accessible_fields = true
@authenticate = nil
@authorize = nil
@audit = nil
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def password_digest(password)
RailsAdmin::Config.reset
RailsAdmin::AbstractModel.reset
RailsAdmin::Config.audit_with(:history) if CI_ORM == :active_record
RailsAdmin::Config.yell_for_non_accessible_fields = false
end

config.after(:each) do
Expand Down