search for: xwvye8swar3r7s880joybq

Displaying 20 results from an estimated 24 matches for "xwvye8swar3r7s880joybq".

2007 Jan 29
8
Cluster 3 mongrel servers residing in different machines (Windows)
Hi All, Machine A: has Apache 2.2 doing load balancing, also has DB and 8 mongrel processes I''m using mongrel_cluster . Now, I want to run Mongrels on Machine''s B and C (ie Cluster 3 Mongrels in three different machines). Is this possible? If possible then, please describe me the steps required (I''m using windows machines, and already losdt one week :-( ) Best
2008 Nov 21
15
Switching the version of Rails that an app uses
Hi All, I’ve got a few versions or Rails installed and I''d like to run an App I’m developing with various versions of Rails. I heard of two ways to switch the version of Rails that an app uses: 1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/ . But that requires using Bash in a Command Window and more steps than I want to go through. 2. Alter
2007 Mar 13
7
Form with subforms
Hi, I''m looking for a way to implement subforms. For example, a form where you can add clients, and at the same time enter contactpersons for this client. I''ve been looking around, reading ebooks, etc, but can''t seem to find a good example/tutorial for something like this. So I would be very thankful if someone could point me in the right direction. Thanks, Sven
2006 Sep 15
7
OT: TinyMCE in Rails
I''m having a problem getting the text area the size I want it to be. In my view at the top I have this init calls <script type="text/javascript" > tinyMCE.init({ mode: "textareas", theme: ''advanced'', theme_advanced_toolbar_location: ''top'' }); </script> Then in my form: <%= text_area
2007 Jan 31
6
Using hash.keys - why doesn't it display in order created
I am using .keys on a hash to create an array that is than displayed in a view with .each - why does it not display the keys in the order added to the hash? I would like to controll how the array is displayed - I want the checkboxes to display like I added them to the hash, but it doesn''t - I can''t figure out how it is displayed, when I change the order of the hash it
2008 May 22
9
Retrieving Mutliple Records using find_by_*
I was hoping that AR''s find_by_* magic methods would help me retrieve multiple items somewhat like the following: names_to_find = [''Larry'', ''Moe'', ''Curly''] found_people = Person.find_by_name(names_to_find) Is there a way to accomplish this using find_by_* (or even find(:all) using some sort of conditions) or must I resort to SQL
2007 Feb 14
2
prepend_before_filter
I''ve got a couple of before_filters that need to run in a specific order. One does a redirect_to if a session variable isn''t set. The other does a find which will fail if the session variable isn''t set. So they need to run in that order. But prepend_before_filter doesn''t seem to be working as advertised. Anybody got any insight? I''m still running
2007 Mar 04
0
Fw: Mail System Error - Returned Mail
...gain to see if the > problem was only temporary. > > DNS for host googlegroups.com is mis-configured. > > The following recipients did not receive this message: > > <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > Please reply to <Postmaster-xwVYE8SWAR3R7s880joybQ@public.gmane.org> > if you feel this message to be in error. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYP...
2007 Aug 07
1
core team email address?
Anybody know if the old rubyonrails.org email address is still valid for questions to the core team? Thanks, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this
2007 Mar 09
2
Blank fields getting validated
Hi, I am not sure if this is already answered in this list. I couldn''t find an answer. So I am posting the question. I have multiple validations for a field. For example: validates_presence_of :contact_email validates_format_of :contact_email, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i, :message => "is not a valid email
2007 May 11
2
Ajax, buttons, and firefox
I created a button_to_remote function that I use to call :toggle_blind visual_effect :toggle_blind, ''div_id'' It works great on Safari, Opera, IE, but in firefox the button does nothing. Is there a problem with firefox. I can''t seem to find much online about this issue. -- Amos King Ramped Media USPS Programmer/Analyst St. Louis, MO Looking for something to do?
2006 Oct 09
3
text_field how to ?
I have a text field and want to let users insert multiple values - If I type one two , the sql statement is ''1 2'' if i put a comma between it turns it to 1\,\2 I need it to do ''1'',2'' I tried some regex but no luck because whatever I do to format I''m getting back slashes. Anything ? Stuart -- http://en.wikipedia.org/wiki/Dark_ambient
2007 Mar 23
11
Is there such a thing as button_to_remote?
I''ve changed my destructive link_to statements in favor of button_to. But what if I want to make an .rjs call with that button? Seems like we need something equivalent to link_to_remote, so that the button can make an ajax request instead submitting the form. Or am I missing the point entirely? Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message
2006 Oct 10
4
Prototype Tutorials?
Hi, Can anyone please point me in the direction of a good prototype tutorial? I''m not sure if one exists yet or not but I havn''t been able to find a comprehensive one yet. TIA Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2007 Feb 27
2
Dynamically add radio buttons to forms?
Good afternoon all I''m trying to implement a form that dynamically inserts radio buttons into a form. The user selects options from a drop-down menu. I use observe_field to watch for a change and call back to render the appropriate partial tha contains the radio options. All works nicely but I''m tripped up on one thing: When rendering a form using form_for how do I link those
2007 Jun 15
3
Error when running functional test - Errno::ENOENT
Hello, I''m getting an error when running functional tests as follows, using Mac OSX 10.4.9, Rails 1.2.3 . When I run: ruby test/functional/campaign_controller_test.rb I get this error: Started E Finished in 0.027402 seconds. 1) Error: test_should_get_icon_data(CampaignControllerTest): Errno::ENOENT: No such file or directory - /usr/src/projects/myproject/
2008 Jun 23
12
From Instant Rails 2.0 to Rails 2.1.0
hi, I have installed Instant Rails 2.0 on my machine which comes with Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do gem update rails and It seems to be fine. But when I check the version of my Rails I get the following message: >rails -v C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in `report_activate_error'': RubyGem version error: activesupport(2.0.2 not
2006 Aug 22
7
Cleanup at session expiration
I''m going to explicitly time out sessions if they''re idle more than X minutes. Like online banking sites do. How do I set things up so that, when a session expires, a set of database records and a set of files that may have been created (which are identified via a seperate set of database records) are deleted just before the session data? TIA, Bill
2006 Jan 03
20
Subversion AND Rails hosting
I''ve been scouring the net looking for different hosting solutions, but have so far only found one site that has what I''m looking for. I would like to be able to host both a subversion repository for development and my rails application(s) all in one location. So far, I''ve only found a company called AVLUX (http://avlux.net/host.php) that has this. Does anyone know of
2006 Oct 26
0
Setting-up HTMLDOC
I need to generate PDF files from HTML and HTMLDOC is listed in the Rails wiki as an option. It looks interesting, and I can see from the example posted that it''s usable from within a Rails app. But I can''t find anything on how to set it up for use within a Rails app. No Gem. No Plugin. Anybody know anything about this? Thanks! Bill