Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:06:33 -0300 ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.1.10) lib/active_record/migration.rb:389:in `check_pending!' activerecord (4.1.10) lib/active_record/migration.rb:377:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.10) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.10) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.10) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.10) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.10) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.10) 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' activesupport (4.1.10) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/static.rb:84:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.10) lib/rails/engine.rb:514:in `call' railties (4.1.10) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.6ms)  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestes (20150415214253)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "testes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nome" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150415214253"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:06:51 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.7ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (20.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (1.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (6.9ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (33.9ms) Completed 200 OK in 247ms (Views: 238.0ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:06:52 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:06:52 -0300 Started GET "/crud/teste/new" for 127.0.0.1 at 2015-04-16 09:06:57 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_form.html.erb (80.5ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/new.html.erb within layouts/application (90.0ms) Completed 200 OK in 101ms (Views: 100.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:06:57 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:06:57 -0300 Started POST "/crud/teste/create" for 127.0.0.1 at 2015-04-16 09:07:04 -0300 Processing by CrudController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kuMZkegmB8RPUugnRTX3oH/cT2U5RbOnHR1jzpyeWhU=", "teste"=>{"nome"=>"Leonardo Raro"}, "commit"=>"Salvar", "model"=>"teste"}  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "testes" ("created_at", "nome", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-04-16 12:07:04.274511"], ["nome", "Leonardo Raro"], ["updated_at", "2015-04-16 12:07:04.274511"]]  (1.0ms) commit transaction Redirected to http://localhost:3000/crud/teste Completed 302 Found in 11ms (ActiveRecord: 1.8ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:07:04 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (2.0ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (10.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (3.7ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (16.4ms) Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:07:04 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:07:04 -0300 Started GET "/crud/teste/new" for 127.0.0.1 at 2015-04-16 09:07:06 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_form.html.erb (3.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (3.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/new.html.erb within layouts/application (10.0ms) Completed 200 OK in 30ms (Views: 29.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:07:06 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:07:06 -0300 Started POST "/crud/teste/create" for 127.0.0.1 at 2015-04-16 09:07:13 -0300 Processing by CrudController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kuMZkegmB8RPUugnRTX3oH/cT2U5RbOnHR1jzpyeWhU=", "teste"=>{"nome"=>"Ramon Raro"}, "commit"=>"Salvar", "model"=>"teste"}  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "testes" ("created_at", "nome", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-04-16 12:07:13.756938"], ["nome", "Ramon Raro"], ["updated_at", "2015-04-16 12:07:13.756938"]]  (0.9ms) commit transaction Redirected to http://localhost:3000/crud/teste Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:07:13 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.1ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (7.7ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (11.8ms) Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:07:13 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:07:13 -0300 Started GET "/crud/teste/2" for 127.0.0.1 at 2015-04-16 09:07:18 -0300 Processing by CrudController#show as HTML Parameters: {"model"=>"teste", "id"=>"2"} Teste Load (0.2ms) SELECT "testes".* FROM "testes" WHERE "testes"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_show.html.erb (1.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/show.html.erb within layouts/application (9.3ms) Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:07:18 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:07:18 -0300 Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:07:20 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.4ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.7ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.5ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (12.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (16.8ms) Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:07:20 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:07:20 -0300 Started GET "/crud/teste/query?model=Teste&partial=records&var=records&q%5Bnome_cont%5D=Leonardo" for 127.0.0.1 at 2015-04-16 09:07:36 -0300 Processing by CrudController#query as HTML Parameters: {"model"=>"teste", "partial"=>"records", "var"=>"records", "q"=>{"nome_cont"=>"Leonardo"}} Redirected to http://localhost:3000/crud/teste Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:07:36 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (7.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (12.1ms) Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:07:36 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:07:36 -0300 Started GET "/crud/teste/query?model=Teste&partial=records&var=records&q%5Bnome_cont%5D=Leonardo" for 127.0.0.1 at 2015-04-16 09:08:45 -0300 Processing by CrudController#query as HTML Parameters: {"model"=>"teste", "partial"=>"records", "var"=>"records", "q"=>{"nome_cont"=>"Leonardo"}} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (1.0ms) SELECT DISTINCT "testes".* FROM "testes" WHERE ("testes"."nome" LIKE '%Leonardo%') ORDER BY "testes"."updated_at" DESC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE ("testes"."nome" LIKE '%Leonardo%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (13.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (3.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (20.3ms) Completed 200 OK in 42ms (Views: 30.8ms | ActiveRecord: 2.0ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:08:45 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:08:45 -0300 Started GET "/crud/teste/query?model=Teste&partial=records&var=records&q%5Bnome_cont%5D=Ramon" for 127.0.0.1 at 2015-04-16 09:08:51 -0300 Processing by CrudController#query as HTML Parameters: {"model"=>"teste", "partial"=>"records", "var"=>"records", "q"=>{"nome_cont"=>"Ramon"}} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.4ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" WHERE ("testes"."nome" LIKE '%Ramon%') ORDER BY "testes"."updated_at" DESC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.5ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE ("testes"."nome" LIKE '%Ramon%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (9.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (15.0ms) Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:08:51 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:08:51 -0300 Started GET "/crud/teste/query?model=Teste&partial=records&var=records&q%5Bnome_cont%5D=Raro" for 127.0.0.1 at 2015-04-16 09:08:54 -0300 Processing by CrudController#query as HTML Parameters: {"model"=>"teste", "partial"=>"records", "var"=>"records", "q"=>{"nome_cont"=>"Raro"}} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.3ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" WHERE ("testes"."nome" LIKE '%Raro%') ORDER BY "testes"."updated_at" DESC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.4ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE ("testes"."nome" LIKE '%Raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (11.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (16.6ms) Completed 200 OK in 36ms (Views: 28.7ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:08:54 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:08:54 -0300 Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:09:01 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.4ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.2ms)  (0.4ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (28.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (4.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (35.4ms) Completed 200 OK in 52ms (Views: 48.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:09:01 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:09:01 -0300 Started GET "/crud/teste/new" for 127.0.0.1 at 2015-04-16 09:09:03 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_form.html.erb (4.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/new.html.erb within layouts/application (10.3ms) Completed 200 OK in 21ms (Views: 20.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:09:03 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:09:03 -0300 Started GET "/crud/teste/query?model=Teste&partial=records&var=records&q%5Bnome_cont%5D=Leonardo" for 127.0.0.1 at 2015-04-16 09:09:32 -0300 Processing by CrudController#query as HTML Parameters: {"model"=>"teste", "partial"=>"records", "var"=>"records", "q"=>{"nome_cont"=>"Leonardo"}} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.4ms) SELECT DISTINCT "testes".* FROM "testes" WHERE ("testes"."nome" LIKE '%Leonardo%') ORDER BY "testes"."updated_at" DESC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE ("testes"."nome" LIKE '%Leonardo%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (10.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (16.2ms) Completed 200 OK in 44ms (Views: 40.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:09:32 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:09:32 -0300 Started GET "/crud/teste/query?model=Teste&partial=records&var=records&q%5Bnome_cont%5D=Raro" for 127.0.0.1 at 2015-04-16 09:10:10 -0300 Processing by CrudController#query as HTML Parameters: {"model"=>"teste", "partial"=>"records", "var"=>"records", "q"=>{"nome_cont"=>"Raro"}} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.5ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" WHERE ("testes"."nome" LIKE '%Raro%') ORDER BY "testes"."updated_at" DESC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.2ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE ("testes"."nome" LIKE '%Raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (8.9ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (4.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (15.6ms) Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:10:10 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:10:10 -0300 Started GET "/crud/teste/new" for 127.0.0.1 at 2015-04-16 09:10:12 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_form.html.erb (4.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.9ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/new.html.erb within layouts/application (12.3ms) Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:10:12 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:10:12 -0300 Started POST "/crud/teste/create" for 127.0.0.1 at 2015-04-16 09:10:15 -0300 Processing by CrudController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kuMZkegmB8RPUugnRTX3oH/cT2U5RbOnHR1jzpyeWhU=", "teste"=>{"nome"=>"Carlos"}, "commit"=>"Salvar", "model"=>"teste"}  (0.1ms) begin transaction SQL (1.6ms) INSERT INTO "testes" ("created_at", "nome", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-04-16 12:10:15.597794"], ["nome", "Carlos"], ["updated_at", "2015-04-16 12:10:15.597794"]]  (1.0ms) commit transaction Redirected to http://localhost:3000/crud/teste Completed 302 Found in 9ms (ActiveRecord: 2.8ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:10:15 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (8.9ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (2.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (13.8ms) Completed 200 OK in 23ms (Views: 21.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:10:15 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:10:15 -0300 Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:11:32 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `escopo' for TesteCrud:Class): app/raro_crud/teste_crud.rb:13:in `' app/raro_crud/teste_crud.rb:1:in `' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.1ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:11:41 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.2ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (10.1ms) Teste Load (0.1ms) SELECT "testes".* FROM "testes" WHERE (nome like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (2.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (3.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (15.5ms) Completed 500 Internal Server Error in 23ms (ActiveRecord: 1.1ms) ActionView::Template::Error (undefined method `call' for #): 7:

8: <%= escopo[1] %> 9: 10: <%= @model.send(escopo[0]).count %> 11: 12:

13: activerecord (4.1.10) lib/active_record/relation/delegation.rb:136:in `method_missing' activerecord (4.1.10) lib/active_record/relation/delegation.rb:99:in `method_missing' activerecord (4.1.10) lib/active_record/scoping/named.rb:151:in `block (2 levels) in scope' activerecord (4.1.10) lib/active_record/relation.rb:292:in `scoping' activerecord (4.1.10) lib/active_record/scoping/named.rb:151:in `block in scope' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:10:in `block (2 levels) in ___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__scopes_html_erb___2419768855737202306_70116633922420' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.10) lib/action_view/helpers/tag_helper.rb:97:in `content_tag' actionview (4.1.10) lib/action_view/helpers/url_helper.rb:184:in `link_to' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:3:in `block in ___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__scopes_html_erb___2419768855737202306_70116633922420' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:2:in `each' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:2:in `___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__scopes_html_erb___2419768855737202306_70116633922420' actionview (4.1.10) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.10) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.10) lib/action_view/template.rb:339:in `instrument' actionview (4.1.10) lib/action_view/template.rb:143:in `render' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.10) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.10) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb:10:in `block in ___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__crud_template_html_erb__117172925425046587_70116660286680' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb:9:in `___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__crud_template_html_erb__117172925425046587_70116660286680' actionview (4.1.10) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.10) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.10) lib/action_view/template.rb:339:in `instrument' actionview (4.1.10) lib/action_view/template.rb:143:in `render' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.10) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.10) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb:7:in `___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud_index_html_erb___2946910386185630153_70116658317400' actionview (4.1.10) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.10) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.10) lib/action_view/template.rb:339:in `instrument' actionview (4.1.10) lib/action_view/template.rb:143:in `render' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.10) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.10) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.10) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.10) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.10) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.10) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.10) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.10) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.10) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.1.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.1.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.1.10) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.10) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.10) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.10) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.10) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' activesupport (4.1.10) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.10) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.10) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.10) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.10) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.10) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.10) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.10) lib/action_dispatch/journey/router.rb:73:in `block in call' actionpack (4.1.10) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.10) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:692: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' actionpack (4.1.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/flash.rb:254: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.1.10) lib/action_dispatch/middleware/cookies.rb:562:in `call' activerecord (4.1.10) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.10) lib/active_record/migration.rb:380:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.10) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.10) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.10) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.10) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.10) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.10) 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' activesupport (4.1.10) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/static.rb:84:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.10) lib/rails/engine.rb:514:in `call' railties (4.1.10) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.3ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:13:03 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.1ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (10.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (0.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (3.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (15.0ms) Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:13:03 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:13:03 -0300 Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:13:24 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.5ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (11.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (2.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (4.0ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (18.4ms) Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `call' for #): 7:

8: <%= escopo[1] %> 9: 10: <%= @model.raro.count %> 11: <%#= @model.send(escopo[0]).count %> 12: 13:

activerecord (4.1.10) lib/active_record/relation/delegation.rb:136:in `method_missing' activerecord (4.1.10) lib/active_record/relation/delegation.rb:99:in `method_missing' activerecord (4.1.10) lib/active_record/scoping/named.rb:151:in `block (2 levels) in scope' activerecord (4.1.10) lib/active_record/relation.rb:292:in `scoping' activerecord (4.1.10) lib/active_record/scoping/named.rb:151:in `block in scope' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:10:in `block (2 levels) in ___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__scopes_html_erb___2419768855737202306_70116683351940' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.10) lib/action_view/helpers/tag_helper.rb:97:in `content_tag' actionview (4.1.10) lib/action_view/helpers/url_helper.rb:184:in `link_to' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:3:in `block in ___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__scopes_html_erb___2419768855737202306_70116683351940' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:2:in `each' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb:2:in `___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__scopes_html_erb___2419768855737202306_70116683351940' actionview (4.1.10) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.10) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.10) lib/action_view/template.rb:339:in `instrument' actionview (4.1.10) lib/action_view/template.rb:143:in `render' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.10) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.10) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb:10:in `block in ___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__crud_template_html_erb__117172925425046587_70116660286680' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.10) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb:9:in `___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud__crud_template_html_erb__117172925425046587_70116660286680' actionview (4.1.10) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.10) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.10) lib/action_view/template.rb:339:in `instrument' actionview (4.1.10) lib/action_view/template.rb:143:in `render' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.10) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.10) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.10) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb:7:in `___sers_leonardo__rojetos_aro_templus_templus_models_app_views_crud_index_html_erb___2946910386185630153_70116658317400' actionview (4.1.10) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.10) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.10) lib/action_view/template.rb:339:in `instrument' actionview (4.1.10) lib/action_view/template.rb:143:in `render' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.10) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.10) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.10) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.10) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.10) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.10) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.10) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.10) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.10) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.10) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.10) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.1.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.1.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.1.10) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.10) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.10) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.10) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.10) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' activesupport (4.1.10) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.10) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.10) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.10) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.10) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.10) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.10) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.10) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.10) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.10) lib/action_dispatch/journey/router.rb:73:in `block in call' actionpack (4.1.10) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.10) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:692: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' actionpack (4.1.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/flash.rb:254: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.1.10) lib/action_dispatch/middleware/cookies.rb:562:in `call' activerecord (4.1.10) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.10) lib/active_record/migration.rb:380:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.10) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.10) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.10) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.10) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.10) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.10) 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' activesupport (4.1.10) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.10) lib/action_dispatch/middleware/static.rb:84:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.10) lib/rails/engine.rb:514:in `call' railties (4.1.10) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.1ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:13:54 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.1ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.2ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (10.6ms)  (0.3ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (2.7ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (5.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (17.6ms) Completed 200 OK in 33ms (Views: 26.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:13:54 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:13:54 -0300 Started GET "/crud/teste?scope=nao_raro" for 127.0.0.1 at 2015-04-16 09:13:57 -0300 Processing by CrudController#index as HTML Parameters: {"scope"=>"nao_raro", "model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" WHERE (nome not like '%raro%') ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.2ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (6.3ms)  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (1.6ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (3.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (12.5ms) Completed 200 OK in 35ms (Views: 30.7ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:13:57 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:13:57 -0300 Started GET "/crud/teste?scope=raro" for 127.0.0.1 at 2015-04-16 09:13:58 -0300 Processing by CrudController#index as HTML Parameters: {"scope"=>"raro", "model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.2ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" WHERE (nome like '%raro%') ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.8ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" WHERE (nome like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (9.0ms)  (0.3ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (2.5ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (5.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (16.4ms) Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:13:58 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:13:58 -0300 Started GET "/" for 127.0.0.1 at 2015-04-16 09:14:02 -0300 Processing by Rails::WelcomeController#index as HTML Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/railties-4.1.10/lib/rails/templates/rails/welcome/index.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:14:09 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.3ms) Teste Load (0.2ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (1.5ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (12.2ms)  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (1.9ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (4.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (19.1ms) Completed 200 OK in 35ms (Views: 32.6ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:14:09 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:14:09 -0300 Started GET "/crud/teste/3" for 127.0.0.1 at 2015-04-16 09:14:32 -0300 Processing by CrudController#show as HTML Parameters: {"model"=>"teste", "id"=>"3"} Teste Load (0.2ms) SELECT "testes".* FROM "testes" WHERE "testes"."id" = ? LIMIT 1 [["id", 3]] Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_show.html.erb (0.2ms)  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (2.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (6.1ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/show.html.erb within layouts/application (11.6ms) Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:14:32 -0300 Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:14:32 -0300 Started GET "/crud/teste" for 127.0.0.1 at 2015-04-16 09:14:35 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_links.html.erb (0.4ms) Teste Load (0.3ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_record.html.erb (0.4ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_records.html.erb (10.7ms)  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_scopes.html.erb (2.5ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/_crud_template.html.erb (5.7ms) Rendered /Users/leonardo/ProjetosRaro/templus/templus_models/app/views/crud/index.html.erb within layouts/application (18.7ms) Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-16 09:14:35 -0300 Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-16 09:14:35 -0300 Started GET "/" for ::1 at 2015-04-16 19:06:35 -0300 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" SyntaxError (/Users/leonardo/ProjetosRaro/engines/templus_models/app/helpers/crud_helper.rb:125: syntax error, unexpected keyword_end, expecting end-of-input): /Users/leonardo/ProjetosRaro/engines/templus_models/app/helpers/crud_helper.rb:125: syntax error, unexpected keyword_end, expecting end-of-input activesupport (4.2.1) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.1) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.1) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.1) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.1) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.1) lib/active_support/dependencies.rb:317:in `depend_on' activesupport (4.2.1) lib/active_support/dependencies.rb:233:in `require_dependency' actionpack (4.2.1) lib/abstract_controller/helpers.rb:149:in `block in modules_for_helpers' actionpack (4.2.1) lib/abstract_controller/helpers.rb:144:in `map!' actionpack (4.2.1) lib/abstract_controller/helpers.rb:144:in `modules_for_helpers' actionpack (4.2.1) lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers' actionpack (4.2.1) lib/abstract_controller/helpers.rb:108:in `helper' actionpack (4.2.1) lib/action_controller/railties/helpers.rb:17:in `inherited' railties (4.2.1) lib/rails/application_controller.rb:1:in `' activesupport (4.2.1) lib/active_support/dependencies.rb:274:in `require' activesupport (4.2.1) lib/active_support/dependencies.rb:274:in `block in require' activesupport (4.2.1) lib/active_support/dependencies.rb:240:in `load_dependency' activesupport (4.2.1) lib/active_support/dependencies.rb:274:in `require' railties (4.2.1) lib/rails/welcome_controller.rb:1:in `' activesupport (4.2.1) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.1) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.1) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.1) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.1) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.1) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.1) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:70:in `controller_reference' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:60:in `controller' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:39:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.7ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (34.4ms) Started GET "/" for ::1 at 2015-04-16 19:07:00 -0300 Processing by Rails::WelcomeController#index as HTML Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (0.9ms) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/crud/teste" for ::1 at 2015-04-16 19:07:05 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.3ms) Teste Load (1.6ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (1.8ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (0.2ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb (31.5ms)  (0.3ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (3.7ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.6ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (1.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (11.3ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb within layouts/application (49.7ms) Completed 200 OK in 326ms (Views: 312.9ms | ActiveRecord: 2.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:07:05 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:07:05 -0300 Started GET "/crud/teste/new" for ::1 at 2015-04-16 19:07:13 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (44.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (49.4ms) Completed 500 Internal Server Error in 57ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `each' for nil:NilClass): 2: <%= simple_form_for @record, remote: false, html: {class: "form-horizontal"}, url: url do |f| %> 3: <%= f.error_notification %> 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <% groups.each do |group, block| %> 6: <%= f.simple_for group do |g| %> 7: <%= render_field(g,f,@model,@record) %> 8: <% end %> /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:5:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___942319224068384531_70192597678260' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___942319224068384531_70192597678260' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___942319224068384531_70192597678260' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb__1701259856529838929_70192567860720' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb__1701259856529838929_70192567860720' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.0ms) Started GET "/crud/teste/new" for ::1 at 2015-04-16 19:08:03 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (29.7ms)  (0.6ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (2.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (7.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (40.9ms) Completed 200 OK in 62ms (Views: 53.1ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:08:03 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:08:03 -0300 Started GET "/crud/teste/new" for ::1 at 2015-04-16 19:08:05 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (3.2ms)  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.3ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (2.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (11.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (19.5ms) Completed 200 OK in 32ms (Views: 30.6ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:08:05 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:08:05 -0300 Started GET "/crud/teste/new" for ::1 at 2015-04-16 19:08:17 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (3.4ms)  (0.3ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (2.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (5.8ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (13.5ms) Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:08:17 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:08:17 -0300 Started POST "/crud/teste/create" for ::1 at 2015-04-16 19:08:22 -0300 Processing by CrudController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+DdDWWTszlZAnAo99Topy3yy49DYnJDu7kd4wDDIu55q1FrIjMrJkg/O4hqwD95rA26steHZI0nzWhsOrFbhiw==", "teste"=>{"nome"=>"Leonardo Raro"}, "commit"=>"Salvar", "model"=>"teste"}  (0.1ms) begin transaction SQL (1.4ms) INSERT INTO "testes" ("nome", "created_at", "updated_at") VALUES (?, ?, ?) [["nome", "Leonardo Raro"], ["created_at", "2015-04-16 22:08:22.160688"], ["updated_at", "2015-04-16 22:08:22.160688"]]  (0.7ms) commit transaction Redirected to http://localhost:4000/crud/teste Completed 302 Found in 7ms (ActiveRecord: 2.2ms) Started GET "/crud/teste" for ::1 at 2015-04-16 19:08:22 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Teste Load (0.4ms) SELECT DISTINCT "testes".* FROM "testes" ORDER BY "testes"."nome" ASC LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (0.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (0.3ms)  (0.3ms) SELECT DISTINCT COUNT(DISTINCT "testes"."id") FROM "testes" Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb (15.3ms)  (0.2ms) SELECT COUNT(*) FROM "testes" WHERE (nome like '%raro%')  (0.1ms) SELECT COUNT(*) FROM "testes" WHERE (nome not like '%raro%') Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (1.7ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.3ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (6.7ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb within layouts/application (24.8ms) Completed 200 OK in 38ms (Views: 35.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:08:22 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:08:22 -0300 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTeste1s (20150416220930)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "teste1s" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "teste_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_teste1s_on_teste_id" ON "teste1s" ("teste_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150416220930"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_teste1s_on_teste_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_teste1s_on_teste_id' AND type='index'  Started GET "/crud/teste1" for ::1 at 2015-04-16 19:10:51 -0300 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CrudController#index as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.3ms) Teste1 Load (0.6ms) SELECT DISTINCT "teste1s".* FROM "teste1s" LIMIT 25 OFFSET 0  (0.5ms) SELECT DISTINCT COUNT(DISTINCT "teste1s"."id") FROM "teste1s" Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb (23.5ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (4.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (6.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb within layouts/application (47.2ms) Completed 500 Internal Server Error in 70ms (ActiveRecord: 1.5ms) ActionView::Template::Error (undefined method `raro' for #): 7:

8: <%= escopo[1] %> 9: 10: <%= @model.send(escopo[0]).count %> 11: 12:

13: activerecord (4.2.1) lib/active_record/dynamic_matchers.rb:26:in `method_missing' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb:10:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__scopes_html_erb__3992596596299257515_70163064991800' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag' actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb:3:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__scopes_html_erb__3992596596299257515_70163064991800' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb:2:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__scopes_html_erb__3992596596299257515_70163064991800' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb:10:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__crud_template_html_erb___4260154104804715379_70163065088720' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb:9:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__crud_template_html_erb___4260154104804715379_70163065088720' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb:7:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_index_html_erb__1338227081597374229_70163064077780' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (30.4ms) Started GET "/crud/teste1" for ::1 at 2015-04-16 19:11:14 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Teste1 Load (0.6ms) SELECT DISTINCT "teste1s".* FROM "teste1s" LIMIT 25 OFFSET 0  (0.7ms) SELECT DISTINCT COUNT(DISTINCT "teste1s"."id") FROM "teste1s" Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb (8.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.6ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (1.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (6.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb within layouts/application (17.0ms) Completed 200 OK in 225ms (Views: 215.5ms | ActiveRecord: 2.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:11:14 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:11:14 -0300 Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:11:17 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (42.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (49.9ms) Completed 500 Internal Server Error in 58ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `each' for #): 2: <%= simple_form_for @record, remote: false, html: {class: "form-horizontal"}, url: url do |f| %> 3: <%= f.error_notification %> 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <% groups.each do |group, block| %> 6: <%= f.simple_for group do |g| %> 7: <%= render_field(g,f,@model,@record) %> 8: <% end %> /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:5:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163065879640' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163065879640' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163065879640' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.0ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:12:13 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (3.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (5.8ms) Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `each' for #): 2: <%= simple_form_for @record, remote: false, html: {class: "form-horizontal"}, url: url do |f| %> 3: <%= f.error_notification %> 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <% groups.each do |group, block| %> 6: <%= block %> 7: <%#= f.simple_for group do |g| %> 8: <%#= render_field(block,g,@model,@record) %> /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:5:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101435880' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101435880' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101435880' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.7ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:12:23 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (1.5ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.6ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (5.6ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (10.4ms) Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:12:23 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:12:23 -0300 Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:15:29 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (17.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (19.1ms) Completed 500 Internal Server Error in 31ms (ActiveRecord: 0.5ms) ActionView::Template::Error (undefined method `simple_for' for #): 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <%# groups.each do |group, block| %> 6: <%#= groups %> 7: <%= f.simple_for :teste do |g| %> 8: <%= render_field({attribute: nome, sf: {label: "Nome"}},g,@model,@record) %> 9: <% end %> 10: <%# end %> /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:7:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163100904500' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163100904500' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163100904500' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.6ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:15:40 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (13.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (15.9ms) Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `simple_fieds_for' for #): 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <%# groups.each do |group, block| %> 6: <%#= groups %> 7: <%= f.simple_fieds_for :teste do |g| %> 8: <%= render_field({attribute: nome, sf: {label: "Nome"}},g,@model,@record) %> 9: <% end %> 10: <%# end %> /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:7:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163069609880' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163069609880' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163069609880' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.9ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:15:48 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (14.3ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (17.4ms) Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined local variable or method `nome' for #<#:0x007fa03d7962a8>): 5: <%# groups.each do |group, block| %> 6: <%#= groups %> 7: <%= f.simple_fields_for :teste do |g| %> 8: <%= render_field({attribute: nome, sf: {label: "Nome"}},g,@model,@record) %> 9: <% end %> 10: <%# end %> 11: <% end %> /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:8:in `block (3 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101381140' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:7:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101381140' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101381140' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163101381140' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.9ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.4ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:15:58 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (36.3ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_scopes.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_search.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/layouts/_template_raro_crud.html.erb (0.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_crud_template.html.erb (5.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (45.0ms) Completed 200 OK in 57ms (Views: 56.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-04-16 19:15:58 -0300 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-04-16 19:15:58 -0300 Started POST "/crud/teste1/create" for ::1 at 2015-04-16 19:16:12 -0300 Processing by CrudController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Wp08HK/xnvpwxkCnQjTjAaVQDrMxv9rwJP1tAXZXFt7IfiWNR9eZPj+UqIAHARSh2oxB1gj6aVc54A7P6slMyw==", "teste1"=>{"teste"=>{"nome"=>"Carlos Teste 1"}}, "commit"=>"Salvar", "model"=>"teste1"} Unpermitted parameter: teste  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "teste1s" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-16 22:16:12.124512"], ["updated_at", "2015-04-16 22:16:12.124512"]]  (1.4ms) commit transaction Redirected to http://localhost:4000/crud/teste1 Completed 302 Found in 9ms (ActiveRecord: 2.7ms) Started GET "/crud/teste1" for ::1 at 2015-04-16 19:16:12 -0300 Processing by CrudController#index as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Teste1 Load (0.3ms) SELECT DISTINCT "teste1s".* FROM "teste1s" LIMIT 25 OFFSET 0 Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb (3.2ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb (9.5ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb within layouts/application (10.9ms) Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms) ActionView::Template::Error (undefined method `nome' for #): 1: <%= content_tag :tr, id: "record-#{record.id}" do %> 2: <%@crud_helper.index_fields.each do |att| %> 3: <% if record.send(att[:attribute]).present? or record.send(att[:attribute]).to_s == "false"%> 4: <% if @model.columns_hash[att[:attribute].to_s].present? && [:date, :datetime].include?(@model.columns_hash[att[:attribute].to_s].type)%> 5: <% if att[:date_format].present?%> 6: <%= record.send(att[:attribute]).strftime(att[:date_format]) %> activemodel (4.2.1) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb:3:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__record_html_erb__2641374990551769681_70163119132180' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb:2:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb:2:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__record_html_erb__2641374990551769681_70163119132180' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_record.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__record_html_erb__2641374990551769681_70163119132180' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb:19:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__records_html_erb__910241467205685510_70163065564960' activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_records.html.erb:18:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__records_html_erb__910241467205685510_70163065564960' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb:3:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_index_html_erb__1338227081597374229_70163064077780' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/index.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_index_html_erb__1338227081597374229_70163064077780' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (34.9ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:19:58 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.0ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (2.4ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (4.4ms) Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `model_name' for #): 3: <%= f.error_notification %> 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <% groups.each do |group, fields| %> 6: <%= f.simple_fields_for group do |g| %> 7: <% fields.each do |field| %> 8: <%= render_field(field,g,@model,@record) %> 9: <% end %> actionview (4.2.1) lib/action_view/model_naming.rb:9:in `model_name_from_record_or_class' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1585:in `fields_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:6:in `block (3 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163066377680' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:5:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:5:in `block (2 levels) in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163066377680' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `each' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163066377680' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb:2:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud__form_html_erb___1722845371083057203_70163066377680' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:4:in `block in ___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb:1:in `___sers_leonardo__rojetos_aro_engines_templus_models_app_views_crud_new_html_erb___589879839419852416_70163065840020' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/leonardo/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/leonardo/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.7ms) Started GET "/crud/teste1/new" for ::1 at 2015-04-16 19:20:16 -0300 Processing by CrudController#new as HTML Parameters: {"model"=>"teste1"} Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_links.html.erb (0.1ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/_form.html.erb (2.5ms) Rendered /Users/leonardo/ProjetosRaro/engines/templus_models/app/views/crud/new.html.erb within layouts/application (5.9ms) Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `model_name' for #): 4: <%@crud_helper.form_groups.each do |key, groups|%> 5: <% groups.each do |group, fields| %> 6: <%= group %> 7: