Live Chat Support in rails

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

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

On 11/6/06, Rodrigo D. [email protected] 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 S.

On 28 February 2013 13:37, vasanth k. [email protected] 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

i have a ruby on rails website and i want a video background in
homepage,i have placed my code in welcome.index and welcome.css

but video is not displaying

 <video id="video-bg-elem" preload="auto" autoplay="true"

loop=“loop” muted=“muted”>
<%= video_tag “video.mp4”, controls: false, autoplay: true, muted:
true, loop: true, id: “video-bg-elem”, type:
“video/mp4” %>

<%= vider_tag ‘assets/videos/video.webm’, position: ‘100% 100%’ %>

css file

.background-wrap {
position: fixed;
z-index: -1000; /to make sure it is behind all the
content
/
width: 100%;
height: 100%;
overflow: hidden;
top: 0;
left: 0;

    }

    #video-bg-elem{
        position: absolute;
        top: 0;
        left: 0;
        min-height: 100%;
        min-width: 100%;

    }

i have a ruby on rails website and i want a video background in
homepage,i have placed my code in welcome.index and welcome.css

but video is not displaying

 <video id="video-bg-elem" preload="auto" autoplay="true"

loop=“loop” muted=“muted”>
<%= video_tag “video.mp4”, controls: false, autoplay: true, muted:
true, loop: true, id: “video-bg-elem”, type:
“video/mp4” %>

<%= vider_tag ‘assets/videos/video.webm’, position: ‘100% 100%’ %>

css file

.background-wrap {
position: fixed;
z-index: -1000; /to make sure it is behind all the
content
/
width: 100%;
height: 100%;
overflow: hidden;
top: 0;
left: 0;

    }

    #video-bg-elem{
        position: absolute;
        top: 0;
        left: 0;
        min-height: 100%;
        min-width: 100%;

    }

the video is placed in assets/videos/video.mp4

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