SyntaxError in Employees#new

Showing /home/lukas/projects/basepack/app/views/basepack/base/_edit.html.haml where line #1 raised:

/home/lukas/projects/basepack/lib/generators/rails/templates/controller.rb:1: syntax error, unexpected '<'
class <%= controller_class_name %>Controller < ResourcesController
       ^
/home/lukas/projects/basepack/lib/generators/rails/templates/controller.rb:4: syntax error, unexpected '<', expecting end-of-input
<% end -%>
 ^

Extracted source (around line #1):

1
          
= form_render edit_form

Trace of template inclusion: /home/lukas/projects/basepack/app/views/basepack/base/new.html.haml

Rails.root: /home/lukas/projects/basepack/spec/dummy_app

Application Trace | Framework Trace | Full Trace
activesupport (4.0.2) lib/active_support/dependencies.rb:229:in `require'
activesupport (4.0.2) lib/active_support/dependencies.rb:229:in `block in require'
activesupport (4.0.2) lib/active_support/dependencies.rb:214:in `load_dependency'
activesupport (4.0.2) lib/active_support/dependencies.rb:229:in `require'
activesupport (4.0.2) lib/active_support/dependencies.rb:330:in `require_or_load'
activesupport (4.0.2) lib/active_support/dependencies.rb:463:in `load_missing_constant'
activesupport (4.0.2) lib/active_support/dependencies.rb:184:in `const_missing'
activesupport (4.0.2) lib/active_support/inflector/methods.rb:228:in `const_get'
activesupport (4.0.2) lib/active_support/inflector/methods.rb:228:in `block in constantize'
activesupport (4.0.2) lib/active_support/inflector/methods.rb:224:in `each'
activesupport (4.0.2) lib/active_support/inflector/methods.rb:224:in `inject'
activesupport (4.0.2) lib/active_support/inflector/methods.rb:224:in `constantize'
activesupport (4.0.2) lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
rails_admin (0.6.0) lib/rails_admin/abstract_model.rb:18:in `new'
rails_admin (0.6.0) lib/rails_admin/abstract_model.rb:12:in `block in all'
rails_admin (0.6.0) lib/rails_admin/abstract_model.rb:12:in `map'
rails_admin (0.6.0) lib/rails_admin/abstract_model.rb:12:in `all'
rails_admin (0.6.0) lib/rails_admin/config/model.rb:43:in `excluded?'
rails_admin (0.6.0) lib/rails_admin/config/lazy_model.rb:17:in `method_missing'
/home/lukas/projects/basepack/lib/basepack/utils.rb:6:in `model_config'
/home/lukas/projects/basepack/lib/basepack/forms/factories/rails_admin.rb:35:in `build_form'
/home/lukas/projects/basepack/lib/basepack/forms/base.rb:33:in `build_from_factory'
/home/lukas/projects/basepack/lib/basepack/forms/factories/base.rb:22:in `new_form'
/home/lukas/projects/basepack/app/controllers/basepack/base_controller.rb:749:in `form_factory_rails_admin'
/home/lukas/projects/basepack/app/controllers/basepack/base_controller.rb:364:in `edit_form_for'
/home/lukas/projects/basepack/app/controllers/basepack/base_controller.rb:700:in `edit_form!'
/home/lukas/projects/basepack/app/controllers/basepack/base_controller.rb:695:in `edit_form'
actionpack (4.0.2) lib/abstract_controller/helpers.rb:53:in `edit_form'
/home/lukas/projects/basepack/app/views/basepack/base/_edit.html.haml:1:in `__home_lukas_projects_basepack_app_views_basepack_base__edit_html_haml__4248637261712284658_53351260'
actionpack (4.0.2) lib/action_view/template.rb:143:in `block in render'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.2) lib/action_view/template.rb:141:in `render'
actionpack (4.0.2) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionpack (4.0.2) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (4.0.2) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionpack (4.0.2) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionpack (4.0.2) lib/action_view/helpers/rendering_helper.rb:27:in `render'
haml (4.0.4) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.4) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.4) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/home/lukas/projects/basepack/app/views/basepack/base/new.html.haml:2:in `__home_lukas_projects_basepack_app_views_basepack_base_new_html_haml___2482338937238405689_43665840'
actionpack (4.0.2) lib/action_view/template.rb:143:in `block in render'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.2) lib/action_view/template.rb:141:in `render'
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionpack (4.0.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionpack (4.0.2) lib/action_view/renderer/renderer.rb:23:in `render'
actionpack (4.0.2) lib/abstract_controller/rendering.rb:127:in `_render_template'
actionpack (4.0.2) lib/action_controller/metal/streaming.rb:219:in `_render_template'
actionpack (4.0.2) lib/abstract_controller/rendering.rb:120:in `render_to_body'
actionpack (4.0.2) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/lukas/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
remotipart (1.2.1) lib/remotipart/render_overrides.rb:14:in `render_with_remotipart'
actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.0.2) lib/action_controller/metal/responder.rb:233:in `default_render'
actionpack (4.0.2) lib/action_controller/metal/responder.rb:161:in `to_html'
responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html'
actionpack (4.0.2) lib/action_controller/metal/responder.rb:154:in `respond'
actionpack (4.0.2) lib/action_controller/metal/responder.rb:147:in `call'
actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:330:in `respond_with'
inherited_resources (1.4.1) lib/inherited_resources/actions.rb:19:in `new'
actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (4.0.2) lib/active_support/callbacks.rb:403:in `_run__559583642890374324__process_action__callbacks'
activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
rack-pjax (0.7.0) lib/rack/pjax.rb:12:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
remotipart (1.2.1) lib/remotipart/middleware.rb:27:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2816109414704464390__call__callbacks'
activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
dragonfly (1.0.1) lib/dragonfly/cookie_monster.rb:9:in `call'
activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.0.2) lib/rails/engine.rb:511:in `call'
railties (4.0.2) lib/rails/application.rb:97:in `call'
rack (1.5.2) lib/rack/builder.rb:138:in `call'
rack (1.5.2) lib/rack/urlmap.rb:65:in `block in call'
rack (1.5.2) lib/rack/urlmap.rb:50:in `each'
rack (1.5.2) lib/rack/urlmap.rb:50:in `call'
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
rack-test (0.6.2) lib/rack/test.rb:57:in `get'
/home/lukas/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/forwardable.rb:171:in `get'
capybara (2.2.0) lib/capybara/rack_test/browser.rb:60:in `process'
capybara (2.2.0) lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
capybara (2.2.0) lib/capybara/rack_test/browser.rb:21:in `visit'
capybara (2.2.0) lib/capybara/rack_test/driver.rb:42:in `visit'
capybara (2.2.0) lib/capybara/session.rb:197:in `visit'
capybara (2.2.0) lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
/home/lukas/projects/basepack/spec/integration/basic/create/basepack_basic_create_spec.rb:8:in `block (3 levels) in <top (required)>'
rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `block in run'
rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `run'
rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `block (2 levels) in <module:MiniTestLifecycleAdapter>'
rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
rspec-core (2.14.7) lib/rspec/core/hooks.rb:108:in `call'
rspec-core (2.14.7) lib/rspec/core/hooks.rb:108:in `run'
rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `block in run_examples'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `block in run'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `block in run'
rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `block in autorun'

Request

Parameters:

None

Response

Headers:

None