Hello SDRuby!

Can you please help me?

I'm extremely new at programming RoR (and programming in general) but
managed to get my first website developed(somewhat). It has been an
adventure and I enjoy learning and applying RoR.

However, the plugin known as "acts_as_taggable_on_steroids" is handling
characters such as commas, spaces and periods not too politely. Is anyone
familiar with this plugin?

Here is the error:

=====================

ActionController::RoutingError in User_photos#show

Showing *app/views/user_photos/show.rhtml* where line #14 raised:

user_tag_url failed to generate from {:controller=>"user_tags",
:action=>"show", :user_id=>"2", :id=>"test."}, expected:
{:controller=>"user_tags", :action=>"show"}, diff: {:user_id=>"2",
:id=>"test."}


Extracted source (around line #14):

11:
12: <p>Tags:
13:   <% @photo.tags.each do |tag| %>
14:     <%= link_to
tag.name, user_tag_path(@
photo.user, tag.name)%>
15:   <% end %>
16: </p>
17:

====================

How do I get around this error? I can "warn" the users not to use such
characters but thats not using common sense and plus people tend to break
rules anyway.

Any help is appreciated!

Jon
_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to