Forum: Ruby on Rails Live Chat Support in rails

Posted by Rodrigo Dominguez (rorra)
on 2006-11-06 15:54
I have a ruby on rails web site, and I need to implement a Live Chat 
customer support, most of them are in php, but I would like to get one 
in rails and to integrate this with my current web application....
do you know any live chat in rails? Thank you
Posted by Jason Roelofs (Guest)
on 2006-11-07 11:06
(Received via mailing list)
I don't know of any formal libraries but there have been a few
implementations thrown around.

Campfire:
 - Page polls every 5 seconds or so to the server for new chats
 - Chats saved on server as XML (I believe), though they could be 
database
entries but that might be slower.

Comet implementation (not a fan of the name, but hey, though this is the
more difficult implementation)
 - Use Flash or a Java applet to open a socket to the chat server and do
your own communication.

AJAX in Rails makes this kind of app quite easy to make. Check out the
available javascript helpers, you'll find something that will help you.

Jason
Posted by Andrew Stone (astone)
on 2006-11-07 11:06
(Received via mailing list)
On 11/6/06, Rodrigo Dominguez <rails-mailing-list@andreas-s.net> wrote:
>
>
> I have a ruby on rails web site, and I need to implement a Live Chat
> customer support, most of them are in php, but I would like to get one
> in rails and to integrate this with my current web application....
> do you know any live chat in rails? Thank you
>
>

Have a look at: http://juggernaut.rubyforge.org/

--
Andrew Stone
Posted by vasanth k. (vasanth_k)
on 2013-02-28 14:37
Attachment: edit.jpg (70,3 KB)
I create the project in scaffold but I cant able to edit it and update 
th values

I gort the error in no action required I attach the image bellow
and my codeing the controller is  :

 @department = Department.find(params[:id])

    respond_to do |format|
      if @department.update_attributes(params[:departments])
        flash[:notice] = 'Department was successfully updated.'
        format.html { redirect_to(@department) }
        format.xml  { head :ok }
      else
        format.html { render :action => "edit" }
        format.xml  { render :xml => @department.errors, :status => 
:unprocessable_entity }
      end
    end
Posted by Colin Law (Guest)
on 2013-02-28 15:56
(Received via mailing list)
On 28 February 2013 13:37, vasanth k. <lists@ruby-forum.com> wrote:
> I create the project in scaffold but I cant able to edit it and update
> th values

I guess you are a beginner in Rails.  If so then I suggest that you
work right through a good tutorial such as railstutorial.org, which is
free to use online.  That will show you the basics of Rails.

Once you have done that, if you still get the problem, and still
cannot work it out then have a look at the Rails Guide on Debugging,
which will show you techniques that can be used to debug your code.

If you have to post messages in future then please paste them in as
text rather than an image.  It is easier to follow the thread if
everything is in the message.

Colin
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.