enform 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +20 -0
- data/README +0 -0
- data/Rakefile +32 -0
- data/enform.gemspec +17 -0
- data/lib/enform.rb +5 -0
- data/lib/enform/enform_railtie.rb +7 -0
- data/lib/enform/rails/tasks/enform.rake +0 -0
- data/lib/enform/version.rb +3 -0
- data/lib/generators/enform_generator.rb +60 -0
- data/lib/generators/templates/controllers/controller.rb +83 -0
- data/lib/generators/templates/views/haml/_form.html.haml +27 -0
- data/lib/generators/templates/views/haml/_object.haml +10 -0
- data/lib/generators/templates/views/haml/edit.html.haml +8 -0
- data/lib/generators/templates/views/haml/new.html.haml +8 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +10 -0
- data/spec/dummy/app/assets/javascripts/monkeys.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/assets/stylesheets/monkeys.css +4 -0
- data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/monkeys_controller.rb +83 -0
- data/spec/dummy/app/controllers/posts_controller.rb +83 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/monkeys_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/author.rb +4 -0
- data/spec/dummy/app/models/category.rb +3 -0
- data/spec/dummy/app/models/comment.rb +3 -0
- data/spec/dummy/app/models/monkey.rb +2 -0
- data/spec/dummy/app/models/post.rb +7 -0
- data/spec/dummy/app/models/tag_line.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/monkeys/_form.html.erb +21 -0
- data/spec/dummy/app/views/monkeys/edit.html.erb +6 -0
- data/spec/dummy/app/views/monkeys/index.html.erb +23 -0
- data/spec/dummy/app/views/monkeys/new.html.erb +5 -0
- data/spec/dummy/app/views/monkeys/show.html.erb +10 -0
- data/spec/dummy/app/views/posts/_comment.haml +5 -0
- data/spec/dummy/app/views/posts/_comment_fields.haml +6 -0
- data/spec/dummy/app/views/posts/_form.html.haml +18 -0
- data/spec/dummy/app/views/posts/edit.html.haml +8 -0
- data/spec/dummy/app/views/posts/new.html.haml +8 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +60 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +61 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20111025035303_create_posts.rb +10 -0
- data/spec/dummy/db/migrate/20111025035331_create_comments.rb +12 -0
- data/spec/dummy/db/migrate/20111025042155_create_categories.rb +11 -0
- data/spec/dummy/db/migrate/20111025042312_create_authors.rb +10 -0
- data/spec/dummy/db/migrate/20111025042701_create_tag_lines.rb +11 -0
- data/spec/dummy/db/migrate/20111025061520_create_monkeys.rb +9 -0
- data/spec/dummy/db/schema.rb +58 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/log/development.log +1179 -0
- data/spec/dummy/log/test.log +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/test/fixtures/authors.yml +7 -0
- data/spec/dummy/test/fixtures/categories.yml +9 -0
- data/spec/dummy/test/fixtures/comments.yml +11 -0
- data/spec/dummy/test/fixtures/monkeys.yml +7 -0
- data/spec/dummy/test/fixtures/posts.yml +9 -0
- data/spec/dummy/test/fixtures/tag_lines.yml +9 -0
- data/spec/dummy/test/functional/monkeys_controller_test.rb +49 -0
- data/spec/dummy/test/unit/author_test.rb +7 -0
- data/spec/dummy/test/unit/category_test.rb +7 -0
- data/spec/dummy/test/unit/comment_test.rb +7 -0
- data/spec/dummy/test/unit/helpers/monkeys_helper_test.rb +4 -0
- data/spec/dummy/test/unit/monkey_test.rb +7 -0
- data/spec/dummy/test/unit/post_test.rb +7 -0
- data/spec/dummy/test/unit/tag_line_test.rb +7 -0
- data/spec/enform_spec.rb +5 -0
- data/spec/spec_helper.rb +17 -0
- metadata +142 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
+
# like if you have constraints or database-specific column types
|
35
|
+
# config.active_record.schema_format = :sql
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
|
41
|
+
config.assets.allow_debugging = true
|
42
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '36d5670fef979520d444ddeb7d06af2d31b9748bfe75422af8a0d9d2ecf74649b6740edc8f5e60648b254a6801ee7959a52f7047284b8efab8a70169498e0119'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
resources :monkeys
|
3
|
+
resources :posts
|
4
|
+
|
5
|
+
# The priority is based upon order of creation:
|
6
|
+
# first created -> highest priority.
|
7
|
+
|
8
|
+
# Sample of regular route:
|
9
|
+
# match 'products/:id' => 'catalog#view'
|
10
|
+
# Keep in mind you can assign values other than :controller and :action
|
11
|
+
|
12
|
+
# Sample of named route:
|
13
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
14
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
15
|
+
|
16
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
17
|
+
# resources :products
|
18
|
+
|
19
|
+
# Sample resource route with options:
|
20
|
+
# resources :products do
|
21
|
+
# member do
|
22
|
+
# get 'short'
|
23
|
+
# post 'toggle'
|
24
|
+
# end
|
25
|
+
#
|
26
|
+
# collection do
|
27
|
+
# get 'sold'
|
28
|
+
# end
|
29
|
+
# end
|
30
|
+
|
31
|
+
# Sample resource route with sub-resources:
|
32
|
+
# resources :products do
|
33
|
+
# resources :comments, :sales
|
34
|
+
# resource :seller
|
35
|
+
# end
|
36
|
+
|
37
|
+
# Sample resource route with more complex sub-resources
|
38
|
+
# resources :products do
|
39
|
+
# resources :comments
|
40
|
+
# resources :sales do
|
41
|
+
# get 'recent', :on => :collection
|
42
|
+
# end
|
43
|
+
# end
|
44
|
+
|
45
|
+
# Sample resource route within a namespace:
|
46
|
+
# namespace :admin do
|
47
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
48
|
+
# # (app/controllers/admin/products_controller.rb)
|
49
|
+
# resources :products
|
50
|
+
# end
|
51
|
+
|
52
|
+
# You can have the root of your site routed with "root"
|
53
|
+
# just remember to delete public/index.html.
|
54
|
+
# root :to => 'welcome#index'
|
55
|
+
|
56
|
+
# See how all your routes lay out with "rake routes"
|
57
|
+
|
58
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
59
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
60
|
+
# match ':controller(/:action(/:id(.:format)))'
|
61
|
+
end
|
Binary file
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20111025042701) do
|
15
|
+
|
16
|
+
create_table "authors", :force => true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.datetime "created_at"
|
19
|
+
t.datetime "updated_at"
|
20
|
+
end
|
21
|
+
|
22
|
+
create_table "categories", :force => true do |t|
|
23
|
+
t.integer "post_id"
|
24
|
+
t.string "name"
|
25
|
+
t.datetime "created_at"
|
26
|
+
t.datetime "updated_at"
|
27
|
+
end
|
28
|
+
|
29
|
+
add_index "categories", ["post_id"], :name => "index_categories_on_post_id"
|
30
|
+
|
31
|
+
create_table "comments", :force => true do |t|
|
32
|
+
t.integer "post_id"
|
33
|
+
t.string "title"
|
34
|
+
t.text "body"
|
35
|
+
t.datetime "created_at"
|
36
|
+
t.datetime "updated_at"
|
37
|
+
end
|
38
|
+
|
39
|
+
add_index "comments", ["post_id"], :name => "index_comments_on_post_id"
|
40
|
+
|
41
|
+
create_table "posts", :force => true do |t|
|
42
|
+
t.string "title"
|
43
|
+
t.text "body"
|
44
|
+
t.datetime "created_at"
|
45
|
+
t.datetime "updated_at"
|
46
|
+
t.integer "author_id"
|
47
|
+
end
|
48
|
+
|
49
|
+
create_table "tag_lines", :force => true do |t|
|
50
|
+
t.integer "author_id"
|
51
|
+
t.string "body"
|
52
|
+
t.datetime "created_at"
|
53
|
+
t.datetime "updated_at"
|
54
|
+
end
|
55
|
+
|
56
|
+
add_index "tag_lines", ["author_id"], :name => "index_tag_lines_on_author_id"
|
57
|
+
|
58
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,1179 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (144.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (98.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreatePosts (20111025035303)
|
7
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111025035303')[0m
|
9
|
+
Migrating to CreateComments (20111025035331)
|
10
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)
|
11
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("comments")[0m
|
12
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")
|
13
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111025035331')[0m
|
14
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
15
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
16
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("comments")
|
17
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_comments_on_post_id')[0m
|
18
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
19
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
20
|
+
Migrating to CreatePosts (20111025035303)
|
21
|
+
Migrating to CreateComments (20111025035331)
|
22
|
+
Migrating to CreateCategories (20111025042155)
|
23
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
24
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
25
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("categories")
|
26
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_categories_on_post_id" ON "categories" ("post_id")[0m
|
27
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111025042155')
|
28
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
29
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
30
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("categories")[0m
|
31
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_categories_on_post_id')
|
32
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("comments")[0m
|
33
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_comments_on_post_id')
|
34
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
35
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
36
|
+
Migrating to CreatePosts (20111025035303)
|
37
|
+
Migrating to CreateComments (20111025035331)
|
38
|
+
Migrating to CreateCategories (20111025042155)
|
39
|
+
Migrating to CreateAuthors (20111025042312)
|
40
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
41
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
42
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "posts" ADD "author_id" integer
|
43
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111025042312')[0m
|
44
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
45
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
46
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("authors")
|
47
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("categories")[0m
|
48
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_categories_on_post_id')
|
49
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("comments")[0m
|
50
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_comments_on_post_id')
|
51
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
52
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
53
|
+
Migrating to CreatePosts (20111025035303)
|
54
|
+
Migrating to CreateComments (20111025035331)
|
55
|
+
Migrating to CreateCategories (20111025042155)
|
56
|
+
Migrating to CreateAuthors (20111025042312)
|
57
|
+
Migrating to CreateTagLines (20111025042701)
|
58
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
59
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "tag_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "body" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
60
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tag_lines")
|
61
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_tag_lines_on_author_id" ON "tag_lines" ("author_id")[0m
|
62
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111025042701')
|
63
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
64
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
65
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("authors")[0m
|
66
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("categories")
|
67
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_categories_on_post_id')[0m
|
68
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("comments")
|
69
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_comments_on_post_id')[0m
|
70
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
71
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tag_lines")[0m
|
72
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_tag_lines_on_author_id')
|
73
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
74
|
+
Migrating to CreatePosts (20111025035303)
|
75
|
+
Migrating to CreateComments (20111025035331)
|
76
|
+
Migrating to CreateCategories (20111025042155)
|
77
|
+
Migrating to CreateAuthors (20111025042312)
|
78
|
+
Migrating to CreateTagLines (20111025042701)
|
79
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
80
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
81
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("authors")
|
82
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("categories")[0m
|
83
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_categories_on_post_id')
|
84
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("comments")[0m
|
85
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_comments_on_post_id')
|
86
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
87
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tag_lines")
|
88
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_tag_lines_on_author_id')[0m
|
89
|
+
|
90
|
+
|
91
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:27:23 -0500
|
92
|
+
Processing by PostsController#new as HTML
|
93
|
+
Completed 500 Internal Server Error in 117ms
|
94
|
+
|
95
|
+
ActionView::MissingTemplate (Missing template posts/new, application/new with {:handlers=>[:erb, :builder], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
|
96
|
+
* "/home/xn/sites/enform/spec/dummy/app/views"
|
97
|
+
):
|
98
|
+
app/controllers/posts_controller.rb:29:in `new'
|
99
|
+
|
100
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (15.5ms)
|
101
|
+
|
102
|
+
|
103
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:28:38 -0500
|
104
|
+
Processing by PostsController#new as HTML
|
105
|
+
Rendered posts/new.html.haml within layouts/application (91.9ms)
|
106
|
+
Completed 500 Internal Server Error in 184ms
|
107
|
+
|
108
|
+
ActionView::Template::Error (undefined method `semantic_form_for' for #<#<Class:0x00000004615e28>:0x000000045a1f78>):
|
109
|
+
1: %h2
|
110
|
+
2: Create Post
|
111
|
+
3: = semantic_form_for(:post, :html => { :method => :post }) do |f|
|
112
|
+
4: = f.semantic_errors
|
113
|
+
5: = render 'posts/form', :f => f
|
114
|
+
6: = f.buttons do
|
115
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__2802324994920711435_39287280'
|
116
|
+
app/controllers/posts_controller.rb:29:in `new'
|
117
|
+
|
118
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
119
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
120
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
|
121
|
+
|
122
|
+
|
123
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:29:34 -0500
|
124
|
+
Processing by PostsController#new as HTML
|
125
|
+
Rendered posts/new.html.haml within layouts/application (4.1ms)
|
126
|
+
Completed 500 Internal Server Error in 102ms
|
127
|
+
|
128
|
+
ActionView::Template::Error (You have a nil object when you didn't expect it!
|
129
|
+
You might have expected an instance of ActiveRecord::Base.
|
130
|
+
The error occurred while evaluating nil.errors):
|
131
|
+
1: %h2
|
132
|
+
2: Create Post
|
133
|
+
3: = semantic_form_for(:post, :html => { :method => :post }) do |f|
|
134
|
+
4: = f.semantic_errors
|
135
|
+
5: = render 'posts/form', :f => f
|
136
|
+
6: = f.buttons do
|
137
|
+
7: = f.commit_button :submit, "Create"
|
138
|
+
app/views/posts/new.html.haml:4:in `block in _app_views_posts_new_html_haml___1650682791746343848_42556840'
|
139
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml___1650682791746343848_42556840'
|
140
|
+
app/controllers/posts_controller.rb:29:in `new'
|
141
|
+
|
142
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
143
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
144
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
|
145
|
+
|
146
|
+
|
147
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:31:09 -0500
|
148
|
+
Processing by PostsController#new as HTML
|
149
|
+
ERROR: compiling _app_views_posts__form_html_haml__1552938696110884989_38087580 RAISED /home/xn/sites/enform/spec/dummy/app/views/posts/_form.html.haml:23: syntax error, unexpected keyword_ensure, expecting $end
|
150
|
+
Function body: def _app_views_posts__form_html_haml__1552938696110884989_38087580(local_assigns, output_buffer)
|
151
|
+
_old_virtual_path, @virtual_path = @virtual_path, "posts/_form";_old_output_buffer = @output_buffer;f = local_assigns[:f];form = local_assigns[:form];;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;haml_temp = f.inputs do
|
152
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :title
|
153
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :body
|
154
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :created_at
|
155
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :updated_at
|
156
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :author
|
157
|
+
));}\n", 0, false);end
|
158
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :category do |category|
|
159
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :id
|
160
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :title
|
161
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :body
|
162
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :created_at
|
163
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :updated_at
|
164
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :author_id
|
165
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( category.input :author
|
166
|
+
));}\n", 0, false);end
|
167
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :comments do |comment|
|
168
|
+
haml_temp = render 'comments', :f => comment
|
169
|
+
_hamlout.push_text("<div class='links'>\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( link_to_add_association 'add comment', f, :comments
|
170
|
+
));}\n</div>\n", -1, false);end
|
171
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);end
|
172
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper;end;
|
173
|
+
ensure
|
174
|
+
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
|
175
|
+
end
|
176
|
+
Backtrace: /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `module_eval'
|
177
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `compile'
|
178
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:190:in `compile!'
|
179
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:143:in `block in render'
|
180
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
181
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
182
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:256:in `render_partial'
|
183
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:228:in `block (2 levels) in render'
|
184
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
185
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
186
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
187
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
188
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
189
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:227:in `block in render'
|
190
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
191
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:219:in `render'
|
192
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:41:in `render_partial'
|
193
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/rendering_helper.rb:27:in `render'
|
194
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml'
|
195
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers.rb:90:in `non_haml'
|
196
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml'
|
197
|
+
/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__63602968029752882_40869240'
|
198
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `call'
|
199
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `block (2 levels) in form_for_with_haml'
|
200
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers.rb:255:in `with_tabs'
|
201
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `block in form_for_with_haml'
|
202
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
|
203
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
|
204
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss'
|
205
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:40:in `capture'
|
206
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml'
|
207
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/form_helper.rb:590:in `fields_for'
|
208
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/form_helper.rb:373:in `form_for'
|
209
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:182:in `form_for_with_haml'
|
210
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss'
|
211
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
|
212
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
|
213
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
|
214
|
+
/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__63602968029752882_40869240'
|
215
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:144:in `block in render'
|
216
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
217
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
218
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template'
|
219
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
220
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
221
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
222
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
223
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
224
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template'
|
225
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
|
226
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
|
227
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
|
228
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
229
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:9:in `render'
|
230
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:36:in `render_template'
|
231
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:17:in `render'
|
232
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:120:in `_render_template'
|
233
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/streaming.rb:250:in `_render_template'
|
234
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:114:in `render_to_body'
|
235
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
|
236
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
|
237
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:99:in `render'
|
238
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:16:in `render'
|
239
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
240
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
241
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
|
242
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
243
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
244
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
|
245
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
|
246
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:39:in `render'
|
247
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
248
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
|
249
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `call'
|
250
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
|
251
|
+
/home/xn/sites/enform/spec/dummy/app/controllers/posts_controller.rb:29:in `new'
|
252
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
253
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:167:in `process_action'
|
254
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
255
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
256
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:416:in `_run__238146481918882212__process_action__4031253540603794728__callbacks'
|
257
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
|
258
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
259
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:17:in `process_action'
|
260
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rescue.rb:17:in `process_action'
|
261
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
262
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
263
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
264
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
265
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
266
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
|
267
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
268
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:121:in `process'
|
269
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:45:in `process'
|
270
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:193:in `dispatch'
|
271
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
272
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:236:in `block in action'
|
273
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `call'
|
274
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
|
275
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:29:in `call'
|
276
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
|
277
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
|
278
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:82:in `optimized_each'
|
279
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
|
280
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
|
281
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:532:in `call'
|
282
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
283
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call'
|
284
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call'
|
285
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/head.rb:14:in `call'
|
286
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
287
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/flash.rb:243:in `call'
|
288
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context'
|
289
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call'
|
290
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/cookies.rb:331:in `call'
|
291
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/query_cache.rb:62:in `call'
|
292
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
|
293
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
294
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
|
295
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
296
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
297
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/reloader.rb:68:in `call'
|
298
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call'
|
299
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
300
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
301
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/logger.rb:13:in `call'
|
302
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call'
|
303
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/runtime.rb:17:in `call'
|
304
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
305
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/lock.rb:15:in `call'
|
306
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/static.rb:53:in `call'
|
307
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/engine.rb:456:in `call'
|
308
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/content_length.rb:16:in `call'
|
309
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/log_tailer.rb:14:in `call'
|
310
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service'
|
311
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
312
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
313
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
314
|
+
Rendered posts/_form.html.haml (4.5ms)
|
315
|
+
Rendered posts/new.html.haml within layouts/application (31.1ms)
|
316
|
+
Completed 500 Internal Server Error in 171ms
|
317
|
+
|
318
|
+
ActionView::Template::Error (/home/xn/sites/enform/spec/dummy/app/views/posts/_form.html.haml:23: syntax error, unexpected keyword_ensure, expecting $end):
|
319
|
+
app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__63602968029752882_40869240'
|
320
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__63602968029752882_40869240'
|
321
|
+
app/controllers/posts_controller.rb:29:in `new'
|
322
|
+
|
323
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
324
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
325
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
|
326
|
+
|
327
|
+
|
328
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:35:50 -0500
|
329
|
+
Processing by PostsController#new as HTML
|
330
|
+
ERROR: compiling _app_views_posts__form_html_haml___2728478843856735247_30083700 RAISED /home/xn/sites/enform/spec/dummy/app/views/posts/_form.html.haml:26: syntax error, unexpected keyword_ensure, expecting $end
|
331
|
+
Function body: def _app_views_posts__form_html_haml___2728478843856735247_30083700(local_assigns, output_buffer)
|
332
|
+
_old_virtual_path, @virtual_path = @virtual_path, "posts/_form";_old_output_buffer = @output_buffer;f = local_assigns[:f];form = local_assigns[:form];;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;haml_temp = f.inputs do
|
333
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :title
|
334
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :body
|
335
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :created_at
|
336
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :updated_at
|
337
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :author
|
338
|
+
));}\n", 0, false);end
|
339
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :category do |category|
|
340
|
+
_hamlout.push_text("#{
|
341
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :title
|
342
|
+
));}\n#{
|
343
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :body
|
344
|
+
));}\n#{
|
345
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :created_at
|
346
|
+
));}\n#{
|
347
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :updated_at
|
348
|
+
));}\n#{
|
349
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :author
|
350
|
+
));}\n", 0, false);end
|
351
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :comments do |comment|
|
352
|
+
haml_temp = render 'comments', :f => comment
|
353
|
+
_hamlout.push_text("<div class='links'>\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( link_to_add_association 'add comment', f, :comments
|
354
|
+
));}\n</div>\n", -1, false);end
|
355
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);end
|
356
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper;end;
|
357
|
+
ensure
|
358
|
+
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
|
359
|
+
end
|
360
|
+
Backtrace: /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `module_eval'
|
361
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `compile'
|
362
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:190:in `compile!'
|
363
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:143:in `block in render'
|
364
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
365
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
366
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:256:in `render_partial'
|
367
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:228:in `block (2 levels) in render'
|
368
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
369
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
370
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
371
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
372
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
373
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:227:in `block in render'
|
374
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
375
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:219:in `render'
|
376
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:41:in `render_partial'
|
377
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/rendering_helper.rb:27:in `render'
|
378
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml'
|
379
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers.rb:90:in `non_haml'
|
380
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml'
|
381
|
+
/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__696580705965391849_34304420'
|
382
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `call'
|
383
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `block (2 levels) in form_for_with_haml'
|
384
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers.rb:255:in `with_tabs'
|
385
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `block in form_for_with_haml'
|
386
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
|
387
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
|
388
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss'
|
389
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:40:in `capture'
|
390
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml'
|
391
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/form_helper.rb:590:in `fields_for'
|
392
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/form_helper.rb:373:in `form_for'
|
393
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:182:in `form_for_with_haml'
|
394
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss'
|
395
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
|
396
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
|
397
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
|
398
|
+
/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__696580705965391849_34304420'
|
399
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:144:in `block in render'
|
400
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
401
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
402
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template'
|
403
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
404
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
405
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
406
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
407
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
408
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template'
|
409
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
|
410
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
|
411
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
|
412
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
413
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:9:in `render'
|
414
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:36:in `render_template'
|
415
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:17:in `render'
|
416
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:120:in `_render_template'
|
417
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/streaming.rb:250:in `_render_template'
|
418
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:114:in `render_to_body'
|
419
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
|
420
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
|
421
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:99:in `render'
|
422
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:16:in `render'
|
423
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
424
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
425
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
|
426
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
427
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
428
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
|
429
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
|
430
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:39:in `render'
|
431
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
432
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
|
433
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `call'
|
434
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
|
435
|
+
/home/xn/sites/enform/spec/dummy/app/controllers/posts_controller.rb:29:in `new'
|
436
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
437
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:167:in `process_action'
|
438
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
439
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
440
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:416:in `_run__3135884189320592499__process_action__1312913289451423321__callbacks'
|
441
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
|
442
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
443
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:17:in `process_action'
|
444
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rescue.rb:17:in `process_action'
|
445
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
446
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
447
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
448
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
449
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
450
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
|
451
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
452
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:121:in `process'
|
453
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:45:in `process'
|
454
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:193:in `dispatch'
|
455
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
456
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:236:in `block in action'
|
457
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `call'
|
458
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
|
459
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:29:in `call'
|
460
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
|
461
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
|
462
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:82:in `optimized_each'
|
463
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
|
464
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
|
465
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:532:in `call'
|
466
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
467
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call'
|
468
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call'
|
469
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/head.rb:14:in `call'
|
470
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
471
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/flash.rb:243:in `call'
|
472
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context'
|
473
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call'
|
474
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/cookies.rb:331:in `call'
|
475
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/query_cache.rb:62:in `call'
|
476
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
|
477
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
478
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
|
479
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
480
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
481
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/reloader.rb:68:in `call'
|
482
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call'
|
483
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
484
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
485
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/logger.rb:13:in `call'
|
486
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call'
|
487
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/runtime.rb:17:in `call'
|
488
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
489
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/lock.rb:15:in `call'
|
490
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/static.rb:53:in `call'
|
491
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/engine.rb:456:in `call'
|
492
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/content_length.rb:16:in `call'
|
493
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/log_tailer.rb:14:in `call'
|
494
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service'
|
495
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
496
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
497
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
498
|
+
Rendered posts/_form.html.haml (49.4ms)
|
499
|
+
Rendered posts/new.html.haml within layouts/application (73.4ms)
|
500
|
+
Completed 500 Internal Server Error in 170ms
|
501
|
+
|
502
|
+
ActionView::Template::Error (/home/xn/sites/enform/spec/dummy/app/views/posts/_form.html.haml:26: syntax error, unexpected keyword_ensure, expecting $end):
|
503
|
+
0 app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__696580705965391849_34304420'
|
504
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__696580705965391849_34304420'
|
505
|
+
app/controllers/posts_controller.rb:29:in `new'
|
506
|
+
|
507
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
508
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
509
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.4ms)
|
510
|
+
|
511
|
+
|
512
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:38:23 -0500
|
513
|
+
Processing by PostsController#new as HTML
|
514
|
+
ERROR: compiling _app_views_posts_new_html_haml__696580705965391849_36379300 RAISED /home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:35: syntax error, unexpected keyword_ensure, expecting $end
|
515
|
+
Function body: def _app_views_posts_new_html_haml__696580705965391849_36379300(local_assigns, output_buffer)
|
516
|
+
_old_virtual_path, @virtual_path = @virtual_path, "posts/new";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;_hamlout.push_text("<h2>\n Create Post\n</h2>\n", 0, false);
|
517
|
+
|
518
|
+
haml_temp = semantic_form_for(@post, :html => { :method => :post }) do |f|
|
519
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.semantic_errors
|
520
|
+
));}\n", 0, false);haml_temp = f.inputs do
|
521
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :title
|
522
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :body
|
523
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :created_at
|
524
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :updated_at
|
525
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :author
|
526
|
+
));}\n", 0, false);end
|
527
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :category do |category|
|
528
|
+
_hamlout.push_text("#{
|
529
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :title
|
530
|
+
));}\n#{
|
531
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :body
|
532
|
+
));}\n#{
|
533
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :created_at
|
534
|
+
));}\n#{
|
535
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :updated_at
|
536
|
+
));}\n#{
|
537
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :author
|
538
|
+
));}\n", 0, false);end
|
539
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :comments do |comment|
|
540
|
+
haml_temp = render 'comments', :f => comment
|
541
|
+
_hamlout.push_text("<div class='links'>\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( link_to_add_association 'add comment', f, :comments
|
542
|
+
));}\n</div>\n", -1, false);end
|
543
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);end
|
544
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.buttons do
|
545
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.commit_button :submit, "Create"
|
546
|
+
));}\n", 0, false);end
|
547
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);end
|
548
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n#{_hamlout.format_script_false_false_false_true_false_true_false(( link_to "Back", :back
|
549
|
+
));}\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper;end;
|
550
|
+
ensure
|
551
|
+
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
|
552
|
+
end
|
553
|
+
Backtrace: /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `module_eval'
|
554
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `compile'
|
555
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:190:in `compile!'
|
556
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:143:in `block in render'
|
557
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
558
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
559
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template'
|
560
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
561
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
562
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
563
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
564
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
565
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template'
|
566
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
|
567
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
|
568
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
|
569
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
570
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:9:in `render'
|
571
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:36:in `render_template'
|
572
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:17:in `render'
|
573
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:120:in `_render_template'
|
574
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/streaming.rb:250:in `_render_template'
|
575
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:114:in `render_to_body'
|
576
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
|
577
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
|
578
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:99:in `render'
|
579
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:16:in `render'
|
580
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
581
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
582
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
|
583
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
584
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
585
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
|
586
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
|
587
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:39:in `render'
|
588
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
589
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
|
590
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `call'
|
591
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
|
592
|
+
/home/xn/sites/enform/spec/dummy/app/controllers/posts_controller.rb:29:in `new'
|
593
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
594
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:167:in `process_action'
|
595
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
596
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
597
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:416:in `_run__3135884189320592499__process_action__1312913289451423321__callbacks'
|
598
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
|
599
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
600
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:17:in `process_action'
|
601
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rescue.rb:17:in `process_action'
|
602
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
603
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
604
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
605
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
606
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
607
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
|
608
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
609
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:121:in `process'
|
610
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:45:in `process'
|
611
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:193:in `dispatch'
|
612
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
613
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:236:in `block in action'
|
614
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `call'
|
615
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
|
616
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:29:in `call'
|
617
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
|
618
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
|
619
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:82:in `optimized_each'
|
620
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
|
621
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
|
622
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:532:in `call'
|
623
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
624
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call'
|
625
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call'
|
626
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/head.rb:14:in `call'
|
627
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
628
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/flash.rb:243:in `call'
|
629
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context'
|
630
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call'
|
631
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/cookies.rb:331:in `call'
|
632
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/query_cache.rb:62:in `call'
|
633
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
|
634
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
635
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
|
636
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
637
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
638
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/reloader.rb:68:in `call'
|
639
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call'
|
640
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
641
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
642
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/logger.rb:13:in `call'
|
643
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call'
|
644
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/runtime.rb:17:in `call'
|
645
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
646
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/lock.rb:15:in `call'
|
647
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/static.rb:53:in `call'
|
648
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/engine.rb:456:in `call'
|
649
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/content_length.rb:16:in `call'
|
650
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/log_tailer.rb:14:in `call'
|
651
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service'
|
652
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
653
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
654
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
655
|
+
Rendered posts/new.html.haml within layouts/application (5.5ms)
|
656
|
+
Completed 500 Internal Server Error in 13ms
|
657
|
+
|
658
|
+
ActionView::Template::Error (/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:35: syntax error, unexpected keyword_ensure, expecting $end):
|
659
|
+
app/controllers/posts_controller.rb:29:in `new'
|
660
|
+
|
661
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
662
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
663
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms)
|
664
|
+
|
665
|
+
|
666
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:39:03 -0500
|
667
|
+
Processing by PostsController#new as HTML
|
668
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
669
|
+
Rendered posts/new.html.haml within layouts/application (582.4ms)
|
670
|
+
Completed 500 Internal Server Error in 590ms
|
671
|
+
|
672
|
+
ActionView::Template::Error (Missing partial posts/comments, application/comments with {:handlers=>[:erb, :builder, :haml], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
|
673
|
+
* "/home/xn/sites/enform/spec/dummy/app/views"
|
674
|
+
):
|
675
|
+
22: = category.input :author
|
676
|
+
23: = f.semantic_fields_for :comments do |comment|
|
677
|
+
24: = render 'comments', :f => comment
|
678
|
+
25: .links
|
679
|
+
26: = link_to_add_association 'add comment', f, :comments
|
680
|
+
27:
|
681
|
+
28: = f.buttons do
|
682
|
+
app/views/posts/new.html.haml:25:in `block (2 levels) in _app_views_posts_new_html_haml__696580705965391849_36535240'
|
683
|
+
app/views/posts/new.html.haml:24:in `block in _app_views_posts_new_html_haml__696580705965391849_36535240'
|
684
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__696580705965391849_36535240'
|
685
|
+
app/controllers/posts_controller.rb:29:in `new'
|
686
|
+
|
687
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
688
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
689
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
|
690
|
+
|
691
|
+
|
692
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:39:33 -0500
|
693
|
+
Processing by PostsController#new as HTML
|
694
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors"
|
695
|
+
Rendered posts/new.html.haml within layouts/application (217.9ms)
|
696
|
+
Completed 500 Internal Server Error in 224ms
|
697
|
+
|
698
|
+
ActionView::Template::Error (Missing partial posts/comments with {:handlers=>[:erb, :builder, :haml], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
|
699
|
+
* "/home/xn/sites/enform/spec/dummy/app/views"
|
700
|
+
):
|
701
|
+
22: = category.input :author
|
702
|
+
23: = f.semantic_fields_for :comments do |comment|
|
703
|
+
24: = render 'posts/comments', :f => comment
|
704
|
+
25: .links
|
705
|
+
26: = link_to_add_association 'add comment', f, :comments
|
706
|
+
27:
|
707
|
+
28: = f.buttons do
|
708
|
+
app/views/posts/new.html.haml:25:in `block (2 levels) in _app_views_posts_new_html_haml__696580705965391849_29768560'
|
709
|
+
app/views/posts/new.html.haml:24:in `block in _app_views_posts_new_html_haml__696580705965391849_29768560'
|
710
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__696580705965391849_29768560'
|
711
|
+
app/controllers/posts_controller.rb:29:in `new'
|
712
|
+
|
713
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
714
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
715
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
|
716
|
+
|
717
|
+
|
718
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:39:52 -0500
|
719
|
+
Processing by PostsController#new as HTML
|
720
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
721
|
+
Rendered posts/_comment.haml (89.4ms)
|
722
|
+
Rendered posts/new.html.haml within layouts/application (317.2ms)
|
723
|
+
Completed 500 Internal Server Error in 324ms
|
724
|
+
|
725
|
+
ActionView::Template::Error (Missing partial posts/comment_fields, application/comment_fields with {:handlers=>[:erb, :builder, :haml], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
|
726
|
+
* "/home/xn/sites/enform/spec/dummy/app/views"
|
727
|
+
):
|
728
|
+
23: = f.semantic_fields_for :comments do |comment|
|
729
|
+
24: = render 'comment', :f => comment
|
730
|
+
25: .links
|
731
|
+
26: = link_to_add_association 'add comment', f, :comments
|
732
|
+
27:
|
733
|
+
28: = f.buttons do
|
734
|
+
29: = f.commit_button :submit, "Create"
|
735
|
+
app/views/posts/new.html.haml:26:in `block (2 levels) in _app_views_posts_new_html_haml__696580705965391849_30513880'
|
736
|
+
app/views/posts/new.html.haml:24:in `block in _app_views_posts_new_html_haml__696580705965391849_30513880'
|
737
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__696580705965391849_30513880'
|
738
|
+
app/controllers/posts_controller.rb:29:in `new'
|
739
|
+
|
740
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
741
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
742
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
|
743
|
+
|
744
|
+
|
745
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:40:36 -0500
|
746
|
+
Processing by PostsController#new as HTML
|
747
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors"
|
748
|
+
Rendered posts/_comment.haml (34.5ms)
|
749
|
+
Rendered posts/new.html.haml within layouts/application (255.3ms)
|
750
|
+
Completed 500 Internal Server Error in 262ms
|
751
|
+
|
752
|
+
ActionView::Template::Error (undefined method `reflect_on_association' for NilClass:Class):
|
753
|
+
23: = f.semantic_fields_for :comments do |comment|
|
754
|
+
24: = render 'comment', :f => comment
|
755
|
+
25: .links
|
756
|
+
26: = link_to_add_association 'add comment', comment, :comments
|
757
|
+
27:
|
758
|
+
28: = f.buttons do
|
759
|
+
29: = f.commit_button :submit, "Create"
|
760
|
+
app/views/posts/new.html.haml:26:in `block (2 levels) in _app_views_posts_new_html_haml__696580705965391849_33059680'
|
761
|
+
app/views/posts/new.html.haml:24:in `block in _app_views_posts_new_html_haml__696580705965391849_33059680'
|
762
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__696580705965391849_33059680'
|
763
|
+
app/controllers/posts_controller.rb:29:in `new'
|
764
|
+
|
765
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
766
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
767
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)
|
768
|
+
|
769
|
+
|
770
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:44:39 -0500
|
771
|
+
Processing by PostsController#new as HTML
|
772
|
+
ERROR: compiling _app_views_posts__form_html_haml___148537836926023281_40342620 RAISED /home/xn/sites/enform/spec/dummy/app/views/posts/_form.html.haml:26: syntax error, unexpected keyword_ensure, expecting $end
|
773
|
+
Function body: def _app_views_posts__form_html_haml___148537836926023281_40342620(local_assigns, output_buffer)
|
774
|
+
_old_virtual_path, @virtual_path = @virtual_path, "posts/_form";_old_output_buffer = @output_buffer;f = local_assigns[:f];form = local_assigns[:form];;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;haml_temp = f.inputs do
|
775
|
+
_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :title
|
776
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :body
|
777
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :created_at
|
778
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :updated_at
|
779
|
+
));}\n#{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :author
|
780
|
+
));}\n", 0, false);end
|
781
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :category do |category|
|
782
|
+
_hamlout.push_text("#{
|
783
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :title
|
784
|
+
));}\n#{
|
785
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :body
|
786
|
+
));}\n#{
|
787
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :created_at
|
788
|
+
));}\n#{
|
789
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :updated_at
|
790
|
+
));}\n#{
|
791
|
+
_hamlout.format_script_false_false_false_true_false_true_false(( category.input :author
|
792
|
+
));}\n", 0, false);end
|
793
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);haml_temp = f.semantic_fields_for :comments do |comment|
|
794
|
+
haml_temp = render 'comment_fields', :f => comment
|
795
|
+
_hamlout.push_text("<div class='links'>\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( link_to_add_association 'add comment', f, :comments
|
796
|
+
));}\n</div>\n", -1, false);end
|
797
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);end
|
798
|
+
_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper;end;
|
799
|
+
ensure
|
800
|
+
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
|
801
|
+
end
|
802
|
+
Backtrace: /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `module_eval'
|
803
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:282:in `compile'
|
804
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:190:in `compile!'
|
805
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:143:in `block in render'
|
806
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
807
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
808
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:256:in `render_partial'
|
809
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:228:in `block (2 levels) in render'
|
810
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
811
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
812
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
813
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
814
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
815
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:227:in `block in render'
|
816
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
817
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/partial_renderer.rb:219:in `render'
|
818
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:41:in `render_partial'
|
819
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/rendering_helper.rb:27:in `render'
|
820
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml'
|
821
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers.rb:90:in `non_haml'
|
822
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml'
|
823
|
+
/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml___631690788955723707_44589260'
|
824
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `call'
|
825
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `block (2 levels) in form_for_with_haml'
|
826
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers.rb:255:in `with_tabs'
|
827
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:180:in `block in form_for_with_haml'
|
828
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
|
829
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
|
830
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss'
|
831
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/capture_helper.rb:40:in `capture'
|
832
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml'
|
833
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/form_helper.rb:590:in `fields_for'
|
834
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/helpers/form_helper.rb:373:in `form_for'
|
835
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:182:in `form_for_with_haml'
|
836
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/haml-3.1.3/lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss'
|
837
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
|
838
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
|
839
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/formtastic-2.0.2/lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
|
840
|
+
/home/xn/sites/enform/spec/dummy/app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml___631690788955723707_44589260'
|
841
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:144:in `block in render'
|
842
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument'
|
843
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render'
|
844
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template'
|
845
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
|
846
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
847
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
848
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
849
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
|
850
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template'
|
851
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
|
852
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
|
853
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
|
854
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
|
855
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:9:in `render'
|
856
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:36:in `render_template'
|
857
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:17:in `render'
|
858
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:120:in `_render_template'
|
859
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/streaming.rb:250:in `_render_template'
|
860
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:114:in `render_to_body'
|
861
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
|
862
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
|
863
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:99:in `render'
|
864
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:16:in `render'
|
865
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
866
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
867
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
|
868
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
869
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
870
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
|
871
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
|
872
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:39:in `render'
|
873
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
874
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
|
875
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `call'
|
876
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
|
877
|
+
/home/xn/sites/enform/spec/dummy/app/controllers/posts_controller.rb:29:in `new'
|
878
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
879
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:167:in `process_action'
|
880
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
881
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
882
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:416:in `_run__4363625344248077173__process_action__3572560094542685038__callbacks'
|
883
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
|
884
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
885
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:17:in `process_action'
|
886
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rescue.rb:17:in `process_action'
|
887
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
888
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument'
|
889
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
890
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument'
|
891
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
892
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
|
893
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
894
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:121:in `process'
|
895
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:45:in `process'
|
896
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:193:in `dispatch'
|
897
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
898
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_controller/metal.rb:236:in `block in action'
|
899
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `call'
|
900
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
|
901
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:29:in `call'
|
902
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
|
903
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
|
904
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:82:in `optimized_each'
|
905
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
|
906
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
|
907
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:532:in `call'
|
908
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
909
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call'
|
910
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call'
|
911
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/head.rb:14:in `call'
|
912
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
913
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/flash.rb:243:in `call'
|
914
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context'
|
915
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call'
|
916
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/cookies.rb:331:in `call'
|
917
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/query_cache.rb:62:in `call'
|
918
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
|
919
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
920
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
|
921
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
922
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
923
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/reloader.rb:68:in `call'
|
924
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call'
|
925
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
926
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
927
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/logger.rb:13:in `call'
|
928
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call'
|
929
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/runtime.rb:17:in `call'
|
930
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/activesupport-3.1.1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
931
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/lock.rb:15:in `call'
|
932
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/static.rb:53:in `call'
|
933
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/engine.rb:456:in `call'
|
934
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/content_length.rb:16:in `call'
|
935
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/railties-3.1.1/lib/rails/rack/log_tailer.rb:14:in `call'
|
936
|
+
/home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service'
|
937
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
938
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
939
|
+
/home/xn/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
940
|
+
Rendered posts/_form.html.haml (4.7ms)
|
941
|
+
Rendered posts/new.html.haml within layouts/application (29.0ms)
|
942
|
+
Completed 500 Internal Server Error in 127ms
|
943
|
+
|
944
|
+
ActionView::Template::Error (/home/xn/sites/enform/spec/dummy/app/views/posts/_form.html.haml:26: syntax error, unexpected keyword_ensure, expecting $end):
|
945
|
+
0 app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml___631690788955723707_44589260'
|
946
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml___631690788955723707_44589260'
|
947
|
+
app/controllers/posts_controller.rb:29:in `new'
|
948
|
+
|
949
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
950
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
951
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
|
952
|
+
|
953
|
+
|
954
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:57:18 -0500
|
955
|
+
Processing by PostsController#new as HTML
|
956
|
+
Rendered posts/_form.html.haml (1.8ms)
|
957
|
+
Rendered posts/new.html.haml within layouts/application (25.8ms)
|
958
|
+
Completed 500 Internal Server Error in 123ms
|
959
|
+
|
960
|
+
ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h3 and nested within it.):
|
961
|
+
11: = category.input :updated_at
|
962
|
+
12: = category.input :author
|
963
|
+
13: %h3 Comments
|
964
|
+
14: #comments
|
965
|
+
15: = f.semantic_fields_for :comments do |comment|
|
966
|
+
16: = render 'comment_fields', :f => comment
|
967
|
+
17: .links
|
968
|
+
app/views/posts/_form.html.haml:14
|
969
|
+
app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__3646729209013504296_40580400'
|
970
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__3646729209013504296_40580400'
|
971
|
+
app/controllers/posts_controller.rb:29:in `new'
|
972
|
+
|
973
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
974
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
975
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
|
976
|
+
|
977
|
+
|
978
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:58:39 -0500
|
979
|
+
Processing by PostsController#new as HTML
|
980
|
+
Rendered posts/_form.html.haml (1.9ms)
|
981
|
+
Rendered posts/new.html.haml within layouts/application (25.6ms)
|
982
|
+
Completed 500 Internal Server Error in 122ms
|
983
|
+
|
984
|
+
ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h3 and nested within it.):
|
985
|
+
11: = category.input :updated_at
|
986
|
+
12: = category.input :author
|
987
|
+
13: %h3 Comments
|
988
|
+
14: #comments
|
989
|
+
15: = f.semantic_fields_for :comments do |comment|
|
990
|
+
16: = render 'comment_fields', :f => comment
|
991
|
+
17: .links
|
992
|
+
app/views/posts/_form.html.haml:14
|
993
|
+
app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__3937480660713534059_36579420'
|
994
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__3937480660713534059_36579420'
|
995
|
+
app/controllers/posts_controller.rb:29:in `new'
|
996
|
+
|
997
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
998
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
999
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
|
1000
|
+
|
1001
|
+
|
1002
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 01:59:37 -0500
|
1003
|
+
Processing by PostsController#new as HTML
|
1004
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
1005
|
+
Rendered posts/_comment_fields.haml (40.5ms)
|
1006
|
+
Rendered posts/_comment_fields.haml (62.1ms)
|
1007
|
+
Rendered posts/_form.html.haml (763.2ms)
|
1008
|
+
Rendered posts/new.html.haml within layouts/application (787.1ms)
|
1009
|
+
Completed 500 Internal Server Error in 884ms
|
1010
|
+
|
1011
|
+
ActionView::Template::Error (undefined method `author' for #<Comment:0x0000000606b868>):
|
1012
|
+
4: = f.input :body
|
1013
|
+
5: = f.input :created_at
|
1014
|
+
6: = f.input :updated_at
|
1015
|
+
7: = f.input :author
|
1016
|
+
app/views/posts/_comment_fields.haml:7:in `block in _app_views_posts__comment_fields_haml___4288748552898682072_50148600'
|
1017
|
+
app/views/posts/_comment_fields.haml:2:in `_app_views_posts__comment_fields_haml___4288748552898682072_50148600'
|
1018
|
+
app/views/posts/_form.html.haml:18:in `_app_views_posts__form_html_haml___3966047639622805077_43826260'
|
1019
|
+
app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__2113758928875883804_47945920'
|
1020
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__2113758928875883804_47945920'
|
1021
|
+
app/controllers/posts_controller.rb:29:in `new'
|
1022
|
+
|
1023
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
1024
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
1025
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.6ms)
|
1026
|
+
|
1027
|
+
|
1028
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 02:01:11 -0500
|
1029
|
+
Processing by PostsController#new as HTML
|
1030
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors"
|
1031
|
+
Rendered posts/_comment_fields.haml (89.8ms)
|
1032
|
+
Rendered posts/_comment_fields.haml (60.8ms)
|
1033
|
+
Rendered posts/_form.html.haml (380.2ms)
|
1034
|
+
Rendered posts/new.html.haml within layouts/application (389.8ms)
|
1035
|
+
Completed 500 Internal Server Error in 397ms
|
1036
|
+
|
1037
|
+
ActionView::Template::Error (undefined method `author' for #<Comment:0x000000060c89f0>):
|
1038
|
+
4: = f.input :body
|
1039
|
+
5: = f.input :created_at
|
1040
|
+
6: = f.input :updated_at
|
1041
|
+
7: = f.input :author
|
1042
|
+
app/views/posts/_comment_fields.haml:7:in `block in _app_views_posts__comment_fields_haml___4288748552898682072_50148600'
|
1043
|
+
app/views/posts/_comment_fields.haml:2:in `_app_views_posts__comment_fields_haml___4288748552898682072_50148600'
|
1044
|
+
app/views/posts/_form.html.haml:18:in `_app_views_posts__form_html_haml___3966047639622805077_43826260'
|
1045
|
+
app/views/posts/new.html.haml:5:in `block in _app_views_posts_new_html_haml__2113758928875883804_47945920'
|
1046
|
+
app/views/posts/new.html.haml:3:in `_app_views_posts_new_html_haml__2113758928875883804_47945920'
|
1047
|
+
app/controllers/posts_controller.rb:29:in `new'
|
1048
|
+
|
1049
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
1050
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
1051
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.6ms)
|
1052
|
+
|
1053
|
+
|
1054
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 02:09:02 -0500
|
1055
|
+
Processing by PostsController#new as HTML
|
1056
|
+
[1m[36mAuthor Load (0.2ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
1057
|
+
Rendered posts/_comment_fields.haml (34.7ms)
|
1058
|
+
Rendered posts/_comment_fields.haml (108.6ms)
|
1059
|
+
Rendered posts/_form.html.haml (759.9ms)
|
1060
|
+
Rendered posts/new.html.haml within layouts/application (789.4ms)
|
1061
|
+
Compiled application.css (1ms) (pid 28598)
|
1062
|
+
Compiled monkeys.css (0ms) (pid 28598)
|
1063
|
+
Compiled scaffold.css (0ms) (pid 28598)
|
1064
|
+
Completed 500 Internal Server Error in 969ms
|
1065
|
+
|
1066
|
+
ActionView::Template::Error (couldn't find file 'jquery'
|
1067
|
+
(in /home/xn/sites/enform/spec/dummy/app/assets/javascripts/application.js:7)):
|
1068
|
+
3: <head>
|
1069
|
+
4: <title>Dummy</title>
|
1070
|
+
5: <%= stylesheet_link_tag "application" %>
|
1071
|
+
6: <%= javascript_include_tag "application" %>
|
1072
|
+
7: <%= csrf_meta_tags %>
|
1073
|
+
8: </head>
|
1074
|
+
9: <body>
|
1075
|
+
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___3855695435875603518_37532280'
|
1076
|
+
app/controllers/posts_controller.rb:29:in `new'
|
1077
|
+
|
1078
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
1079
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
1080
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
|
1081
|
+
|
1082
|
+
|
1083
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 02:11:06 -0500
|
1084
|
+
Processing by PostsController#new as HTML
|
1085
|
+
[1m[36mAuthor Load (0.2ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
1086
|
+
Rendered posts/_comment_fields.haml (84.0ms)
|
1087
|
+
Rendered posts/_comment_fields.haml (109.4ms)
|
1088
|
+
Rendered posts/_form.html.haml (764.0ms)
|
1089
|
+
Rendered posts/new.html.haml within layouts/application (793.5ms)
|
1090
|
+
Completed 500 Internal Server Error in 903ms
|
1091
|
+
|
1092
|
+
ActionView::Template::Error (couldn't find file 'jquery'
|
1093
|
+
(in /home/xn/sites/enform/spec/dummy/app/assets/javascripts/application.js:7)):
|
1094
|
+
3: <head>
|
1095
|
+
4: <title>Dummy</title>
|
1096
|
+
5: <%= stylesheet_link_tag "application" %>
|
1097
|
+
6: <%= javascript_include_tag "application" %>
|
1098
|
+
7:
|
1099
|
+
8: <%= csrf_meta_tags %>
|
1100
|
+
9: </head>
|
1101
|
+
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__2634098480411626740_44022440'
|
1102
|
+
app/controllers/posts_controller.rb:29:in `new'
|
1103
|
+
|
1104
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
1105
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
1106
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
|
1107
|
+
|
1108
|
+
|
1109
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 02:13:35 -0500
|
1110
|
+
Processing by PostsController#new as HTML
|
1111
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
1112
|
+
Rendered posts/_comment_fields.haml (83.6ms)
|
1113
|
+
Rendered posts/_comment_fields.haml (111.2ms)
|
1114
|
+
Rendered posts/_form.html.haml (826.8ms)
|
1115
|
+
Rendered posts/new.html.haml within layouts/application (856.8ms)
|
1116
|
+
Completed 500 Internal Server Error in 971ms
|
1117
|
+
|
1118
|
+
ActionView::Template::Error (couldn't find file 'jquery'
|
1119
|
+
(in /home/xn/sites/enform/spec/dummy/app/assets/javascripts/application.js:7)):
|
1120
|
+
3: <head>
|
1121
|
+
4: <title>Dummy</title>
|
1122
|
+
5: <%= stylesheet_link_tag "application" %>
|
1123
|
+
6: <%= javascript_include_tag "application" %>
|
1124
|
+
7:
|
1125
|
+
8: <%= csrf_meta_tags %>
|
1126
|
+
9: </head>
|
1127
|
+
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___1951393807752712376_42553740'
|
1128
|
+
app/controllers/posts_controller.rb:29:in `new'
|
1129
|
+
|
1130
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
1131
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
1132
|
+
Rendered /home/xn/.rvm/gems/ruby-1.9.2-head@qrcode/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
|
1133
|
+
|
1134
|
+
|
1135
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-10-25 02:16:15 -0500
|
1136
|
+
Processing by PostsController#new as HTML
|
1137
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" [0m
|
1138
|
+
Rendered posts/_comment_fields.haml (34.9ms)
|
1139
|
+
Rendered posts/_comment_fields.haml (106.6ms)
|
1140
|
+
Rendered posts/_form.html.haml (798.1ms)
|
1141
|
+
Rendered posts/new.html.haml within layouts/application (872.2ms)
|
1142
|
+
Compiled application.js (5ms) (pid 28827)
|
1143
|
+
Compiled jquery.js (2ms) (pid 28827)
|
1144
|
+
Compiled jquery_ujs.js (0ms) (pid 28827)
|
1145
|
+
Compiled cocoon.js (0ms) (pid 28827)
|
1146
|
+
Compiled monkeys.js (0ms) (pid 28827)
|
1147
|
+
Completed 200 OK in 1084ms (Views: 1081.6ms | ActiveRecord: 1.2ms)
|
1148
|
+
|
1149
|
+
|
1150
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1151
|
+
Served asset /application.css - 200 OK (0ms)
|
1152
|
+
|
1153
|
+
|
1154
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1155
|
+
Served asset /scaffold.css - 200 OK (5ms)
|
1156
|
+
|
1157
|
+
|
1158
|
+
Started GET "/assets/monkeys.css?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1159
|
+
Served asset /monkeys.css - 200 OK (2ms)
|
1160
|
+
|
1161
|
+
|
1162
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1163
|
+
Served asset /jquery.js - 200 OK (3ms)
|
1164
|
+
|
1165
|
+
|
1166
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1167
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
1168
|
+
|
1169
|
+
|
1170
|
+
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1171
|
+
Served asset /cocoon.js - 200 OK (2ms)
|
1172
|
+
|
1173
|
+
|
1174
|
+
Started GET "/assets/monkeys.js?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1175
|
+
Served asset /monkeys.js - 200 OK (2ms)
|
1176
|
+
|
1177
|
+
|
1178
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-25 02:16:18 -0500
|
1179
|
+
Served asset /application.js - 200 OK (0ms)
|