Tuesday, 15 January 2013

ruby on rails - Implementing chat application only after login and GUI customization -



ruby on rails - Implementing chat application only after login and GUI customization -

i making application performs chat functionality between members within application 2 people can chat if logged in. chat functionality should resemble gmail chat service in terms of graphical user interface , functionality. using chatter gem. using it, able create gui , functionality that.

but have 2 problems:

it works after login can chat before login too. don't know how restrict work after login.

how can customize gui more friendly. mean there alternative alter gui according what's suits good.

also tell me if there improve way implement chat functionality similar gmail chat.

1.) happy @ code , help out it. in general, you're going need set in custom logic controller in charge of chat functionality restricts usage post-login. i'm not familiar 'chatter', know linked devise gem, take @ relationship in specific. likely, you'll need before_filter in controller ensures user authenticated.

2.) take @ next links more detail on real-time chat between users:

http://programmers.stackexchange.com/questions/104611/real-time-chat-in-ruby-on-rails

implementing chat in rails

ruby on rails 3 - public live chat

ruby-on-rails ruby ruby-on-rails-3.2 chat

No comments:

Post a Comment