Well, almost everything is working now. Only one problem left: when I
want to post a comment and click on the 'post comment' button, it
doesn't work. Nothing happens... And then when I press esc and try to
reload the page nothing works anymore, I get the "We're sorry, but
something went wrong." window, on every single page. The terminal
window says there is an error, I just don't know what to do about it:
----------------------------------------------
Processing HomeController#index (for 127.0.0.1 at 2009-04-10 16:49:17)
[GET]
Parameters: {"action"=>"index", "controller"=>"home"}
User Load (0.000302) SELECT * FROM "users" WHERE ("users"."id" =
1) LIMIT 1
Profile Load (0.000438) SELECT * FROM "profiles" WHERE
("profiles".user_id = 1) LIMIT 1
Profile Update (0.000320) UPDATE "profiles" SET "updated_at" =
'2009-04-10 14:49:17', "last_activity_at" = '2009-04-10 14:49:17'
WHERE "id" = 1
IN check_permissions :: @level => [[:all, {:all=>true}]]
SQL (0.000124) select sqlite_version(*)
SQL (0.000512) SELECT count(DISTINCT "profiles".id) AS count_all
FROM "profiles" LEFT OUTER JOIN "users" ON "users".id =
"profiles".user_id WHERE (is_active = 't' and about_me IS NOT NULL and
user_id is not null)
Profile Load (0.000528) SELECT * FROM "profiles" WHERE (is_active
= 't' and about_me IS NOT NULL and user_id is not null) LIMIT 1 OFFSET
0
User Load (0.000317) SELECT * FROM "users" WHERE ("users"."id" =
1)
Rendering template within layouts/application
Rendering home/index
Rendered profiles/_featured (1.2ms)
Comment Load (0.000773) SELECT * FROM "comments" WHERE
(commentable_type='Profile') ORDER BY created_at desc LIMIT 10
Profile Load (0.000412) SELECT * FROM "profiles" WHERE
("profiles"."id" = 1)
ActionView::TemplateError (uninitialized constant
ActionView::Helpers::TextHelper::RedCloth) on line #17 of app/views/
comments/_comment.html.erb:
14: <%= time_ago_in_words comment.created_at %> ago, <%= link_to h
(comment.profile.f), comment.profile %> wrote:
15: </div>
16: <div class="comment_message jstruncate">
17: <%= sanitize(textilize(c)) %>
18: </div>
19: <% unless youtube_videos.empty? %>
20: <strong><%= pluralize youtube_videos.size, 'video' %>:</
strong><br/>
app/views/comments/_comment.html.erb:17
app/views/home/index.html.erb:18
app/controllers/home_controller.rb:17:in `index'
app/controllers/home_controller.rb:16:in `index'
Processing ApplicationController#index (for 127.0.0.1 at 2009-04-10
16:49:17) [GET]
Parameters: {"action"=>"index", "controller"=>"home"}
ActionView::TemplateError (undefined method `+' for
#<ActionView::Template::EagerPath:0x17e0b70>) in vendor/plugins/rails-
footnotes/templates/rescues/template_error.erb:
/!\ FAILSAFE /!\ Fri Apr 10 16:49:17 +0200 2009
Status: 500 Internal Server Error
ActionView::TemplateError (undefined method `+' for
#<ActionView::Template::EagerPath:0x17e0b70>) in vendor/plugins/rails-
footnotes/templates/rescues/template_error.erb:
In vendor/plugins/rails-footnotes/templates/rescues/
template_error.erb
--------------------------------------
Can anyone please help me out with this...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---