rails g install error
Created by: civcastillo
I haven't been able to install administrate
Already took a look at #516 (closed) but still no luck
Running via Spring preloader in process 8585
identical app/controllers/admin/application_controller.rb
identical app/dashboards/user_dashboard.rb
identical app/controllers/admin/users_controller.rb
/.gem/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/reflection.rb:883:in derive_class_name': undefined method
class_name' for nil:NilClass (NoMethodError)
Did you mean? class_eval
from /.gem/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/reflection.rb:157:in class_name' from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:111:in
relationship_options_string'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:98:in association_type' from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:61:in
redundant_attributes_for'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:56:in block in redundant_attributes' from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:55:in
each'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:55:in flat_map' from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:55:in
redundant_attributes'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:47:in attributes' from (erb):11:in
template'
from /.rubies/ruby-2.3.0/lib/ruby/2.3.0/erb.rb:864:in eval' from /.rubies/ruby-2.3.0/lib/ruby/2.3.0/erb.rb:864:in
result'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb:116:in block in template' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb:53:in
render'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb:46:in identical?' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb:72:in
on_conflict_behavior'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb:113:in invoke_with_conflict_check' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb:60:in
invoke!'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions.rb:94:in action' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb:25:in
create_file'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb:115:in template' from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/generators/named_base.rb:26:in
block in template'
from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/generators/named_base.rb:60:in inside_template' from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/generators/named_base.rb:25:in
template'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/dashboard/dashboard_generator.rb:30:in create_dashboard_definition' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
block in invoke_all'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in each' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
map'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in invoke_all' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/group.rb:232:in
dispatch'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/generators.rb:157:in
invoke'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/administrate/generator_helpers.rb:4:in call_generator' from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/install/install_generator.rb:27:in
block in run_dashboard_generators'
from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/install/install_generator.rb:26:in each' from /.gem/ruby/2.3.0/gems/administrate-0.2.2/lib/generators/administrate/install/install_generator.rb:26:in
run_dashboard_generators'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in block in invoke_all' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
each'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in map' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
invoke_all'
from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/group.rb:232:in dispatch' from /.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start'
from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/generators.rb:157:in invoke' from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/generate.rb:13:in
<top (required)>'
from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require' from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in
block in require'
from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency' from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in
require'
from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in require_command!' from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:130:in
generate_or_destroy'
from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:50:in generate' from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in
run_command!'
from /.gem/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in <top (required)>' from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in
require'
from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in block in require' from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in
load_dependency'
from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require' from /bin/rails:9:in
<top (required)>'
from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load' from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in
block in load'
from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency' from /.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in
load'
from /.rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /.rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from -e:1:in `'