GitHub User: josephers
If you use
<%= best_in_class_if (logged_in? && post_owner?), @post, :title %>
Then it will render uneditable text if you don't satisfy the if statement.
Do you mind telling us how?
I also had the issues with classify not recognizing singular names like "business", so I went with
commentable = nil
params.each do |name, value|
if name =~ /(.+)_id$/
commentable = name.humanize.constantize.find(value)
I read that this is a valid REST response. It's saying that "test" doesn't exist (the username is unique).