Displaying 12 results from an estimated 12 matches similar to: "Chat Room development"
2006 Jun 30
5
Store hash in a DB column
I''m just wondering. Is there an easy way to take a hash that I have
and store it in a DB text column and then read it as a hash from it
again.
The reason is that I have a db table called contents. But it stores
all kinds of information and even data that I do not know of yet.
I know I could store it inside the text column using XML or YAML or
something else but then I would have to
2006 Jul 18
5
Right-click popup menu?
Hi,
I have a partial frame on the side of a page which shows the current
users logged in (as text). Now, I would like to be able to right-click
on each user''s name, and get a menu containing links such as "View
Profile", "Send Message", etc. These links could open in a new window.
Is this possible? Any help would be greatly appreciated.
Thanks,
Aditya Rajgarhia
2006 Aug 10
7
Radio Button events
Hi,
I have observers for a group of radio buttons, an observe_field for each
radio button (I think its not possible to have one observe_field for a
group of radio buttons).
Now, the problem is that when I click on one radio button, all the
observers get trigerred, so the method which the observe_field calls
gets the wrong result. I just want that method to get the radio button
that is
2006 Aug 04
2
observe_field for radio_button
Hi,
I need to observe a set of radio buttons but am having great trouble. My
observe_field looks like this:
<%= observe_field :user_select, :frequency => 0, :url => { :action =>
:admin_control } %>
Now it works fine if I use a text_field like this:
<%= text_field :user, :select, "size" => 20, "maxlength" => 16 %>
But I want a radio button, and
2006 Apr 24
4
mongrel_cluster 0.1: easy mongrel clustering
Hi y''all;
A quick note to announce the release of mongrel_cluster, a gem_plugin
for Mongrel. This plugin provides commands for managing multiple
Mongrel processes behind a reverse-proxy server and load balancer.
To install:
gem install mongrel_cluster
Configure (use -h to options):
mongrel_rails cluster::configure
Start:
mongrel_rails cluster::start
I''ve posted a quick
2006 Mar 01
2
Rails Machine: Automated Rails application hosting
Hi All,
I''d like to let you know about a new Rails hosting company that provides
VPS and dedicated servers preconfigured and optimized to run Lighttpd
and Ruby on Rails. Application configuration and deployment is done
through SwitchTower using our custom extension available as a Ruby gem.
Watch the screencast of deploying a Rails application in 5 minutes!
http://railsmachine.com
2006 Aug 11
1
Store Javascript variable''s value into Rails variable
Hi,
I have a javascript function that returns a value. Is it possible to
store this value into a rails variable?
If you really want to know the reason why I need to do such a thing,
look at http://www.ruby-forum.com/topic/76733. If it''s possible to store
the javascript value into the rails variablem then the problem is
solved.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Jul 25
2
Page doesn''t have scroll bar :/
I have a page with a form that is longer than the page view. Yet there
is no scroll bar. How can I get one?
Thanks,
Aditya
--
Posted via http://www.ruby-forum.com/.
2006 Aug 18
4
Button on view
Hi,
I have a page containing 3 views (2 are partials). One of the partials
needs to have a button that will clear a table called "messages" in the
database.
I can put a button like this "<%= button_to "Clear Messages", :action =>
''clear_messages'' %>" and have the controller do "Message.delete_all".
But the problem is that the
2006 Jul 20
3
ActiveRecord/ActionController in javascript code
Hi,
I have a javascript file for generating a menu when the user hovers over
a link. These links are basically a list of logged in users. Now, in the
menu I would like to have a link to "Display Profile" so that a user can
view the profiles of other users. Also nice would be a picture in the
menu.
The problem is obviously that the javascript expects static links. But I
want to
2006 Jul 21
3
Unobtrusive Javascript plugin
Hi,
I downloaded the unobtrusive_javascript pluing from this link
(http://www.lukeredpath.co.uk/index.php/2006/06/06/introducing-unobtrusive-javascript-for-rails/)
since I needed to have dynamic content in javascript (for a pop-up
menu).
Unfortunately I have been unable to make the plugin work. I followed the
instructions on the website, but for some reason the javascript doesn?t
work (for
2006 Jul 22
0
Pop-up menu
Hi,
After spending a few days thinking about this problem (and trying out
several ways), I can say that I have absolutely no clue on how to do the
following:
There is a page generated by rails that has shows a list of logged-in
users. I would like to click/hover on a user''s name and get a pop-up box
which contains a few links, such as "View Profile".
Such menus have been