the-trash / the_comments

Comments with threading for Rails 4 [Still works but must be replaced with https://github.com/TheComments]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uninitialized constant TheComments::UserRoutes

andreydeineko opened this issue · comments

hi. hoping here I can find help. I have done every step from Advanced installation, but when I run
rails s or rake db:migrate
I'm getting this error:
uninitialized constant TheComments::UserRoutes
Any chance to fix it? Thx in advance!

i have the same problem.
So... you seems to closed this issue, maybe you found solution... could you please share your solution, maybe this can help me and all other newbies who can have the same probem you had.

Thank you a lot for share andreydeineko.

Hello folks! Anybody can explain to me whats going on? DummyApp in SPEC folder of gem works fine for me. Can you launch it and test?

I need to know more about your environment

yes, dummyApp works good for me to.
But i don't arrive to integrate the gem inside my own application.
So... i use RAILS-4.0.2 and i no have my first page root on some posts view...
and i no have "thin" but only webrick.

I have some gem instaled and working fine: Cancan, Devise, Rolify, Kaminari, Remotipart, Mysql2, letsrate, gravatar_image_tag, and all other need by rails.

maybe the error come from a route problem due to the favct that i have not a first "post" page. i change "posts" by "movies", but this page is call from nav-menu, and it is not the first route page. It is the difference with dummyApp. Also, an other difference is the structure of the App.... i no have any "/spec" directory, but originaly an "/app" directory and start rails server webrick from root before this "/app" directory (like all origin rails webrick server start).

hello. ttry to change in your Gemfile to:
gem "the_comments", "~> 2.2.0"
and use gem 'rails', '4.0.1'

let me know, if worked, because if you went through all steps of installation carefully (author thank you - they are very clear) and do what I've recommended - you'll be good

Thanks andreydeineko
This can works great with gem rails-4.0.2 and the_comments 2.2.0 (and not 2.1.0 as specified in the doc)

thanks also for interest and doing this gem who is really good gem.

Last question, is there a way for learn how to use it with max options abilities ?