similar to: Selectboxes and Rails

Displaying 20 results from an estimated 700 matches similar to: "Selectboxes and Rails"

2006 Aug 08
2
Javascript - multiple select selectboxes
I am trying to populate a multiple select box using javascript, but am having problems with the name. When I change the name to "codes[]" I can''t get the javascript to find the form element, but without the [] on the end, rails wont read all of the selected values. Here is an example of the javascript working, but when you submit the array is not passed across for the codes.
2006 May 05
1
Date calender instead of selectboxes like in Django
Hi, please have a look at http://www2.jeffcroft.com/2006/may/02/django-non-programmers/ especially the screenshot in the middle with the Calender. Instead of 3 selectfields with day, month, year I find this one much more userfriendly, also having yesterday, today and tomorrow. Are there plugins for this? I know http://www.dynarch.com/projects/calendar/ which I often included in my php-sites, and
2006 Aug 02
3
Disabling Error Divs
I am trying to figure out how to disable the error field thing in rails, the thing that wraps errous fields with a div (class fieldWithError). Any help on this would be great! -Ray -- Posted via http://www.ruby-forum.com/.
2008 May 06
10
Best way to implement?
So I''m new to all this Rails stuff and this is probably a database design-related question to, but here it is... Just for learning I''m trying to build a little real estate listings application. Of course there is the listings model which will store basic information like name, price, description, and all that jazz. I''m to the point where I want to figure out how to
2006 Mar 02
3
Left Joins with Rails?
Everyone, I have two tables (assuming their most logical types): apartments id address bedrooms bathrooms googlemaps_id googlemaps id url the models: class Apartment < ActiveRecord::Base has_one :googlemap end class Googlemap < ActiveRecord::Base belongs_to :listing end I would like to find_all by searching the attributes in apartment, and also return the google map
2011 Aug 25
2
Using write.table i have a table with two columns i would like to save it as an excel file
Using write.table i would like to save data as an excel file to a folder. I am not too sure how to write the file path or what to name the file. I would appreciate any feedback. > write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ", + eol = "\n", na = "NA", dec = ".", row.names = TRUE, + col.names =
2006 Apr 25
7
[TIPS] File_column plugin and multiple file uploads
No..i am not a full time rails developer...i code in pl/sql for paying my bills...and i am just working on a pet project...so i had some trouble in doing..what i specify in the subject.....now somehow i solved this problem...so those interested can look at the code at: http://hemant.wordpress.com/2006/04/25/file_column-and-how-the-fuck-it-handles-multiple-files/ I write this mail and
2006 Apr 30
7
Rich text aera?
Hi all, I am trying to add an article editing interface to my future webstore, and I am wondering what to use for text formatting. I would like to avoid using HTML, and calibre-bbcode just won''t work (see my last post). Is there some kind of library for live text formatting right in the browser? I would just need bold, italics, size and ul lists... Do you know of a good solution?
2006 May 01
6
Two developers, one on unix and one on windows
Hello all, An interesting problem, I am developing on Windows, another developer is using Unix, and our app and svn repository are running on a Linux box. We need an easy way to not keep breaking our app and each others development environs when we check in the code. The piece in question is the dispatch.fcgi. The path to ruby is (obviously) different in Windows and Unix. Has anyone run into
2006 Apr 14
5
state_models plugin and file_column?
I was looking at Kyle Mawell''s extremely nifty-looking StateModels plugin http://www.kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance and before I go down the road with it, I was wondering if anyone has used it with file_column. The way file_column deals with an uploaded file -- by storing it to the filesystem in a path that employs the model name and id --
2009 Nov 30
1
how to solve a problem in R this problem?can someone help me
Census from 1990 california in USA. It?s a data frame with data from 20640 zones from Calif?rnia. Zones are chosen as being geograficly near, wich one with 1500 persons (mean). For each zone are provided several informations in the colums from data frame: - longitude e latitude from the geografic centre - median age of houses in the zone (housingMedianAge) - total number of houses in the na zone
2006 Apr 14
6
Login Generator with Extensible authorisation
I want my web app to have a signup/login generator but have 2 tiers of users - normal and premium. There seems to be lots of login generator and engines with scattered tutorials about extensible authorisation and Im lost as which is the ''best'' or most ''easy to use'' solution. Anyone had success in this area? -- Posted via http://www.ruby-forum.com/.
2020 Mar 08
6
System Time
A few years ago, one of our interns was curious about system time keeping features in computer systems.? This intern was also the proud owner of an inexpensive Radio-Controlled Clock. The intern wondered why computer motherboards were not just equipped with a chip like the ones in the RCC so that their system time would always be correct. I posted a question about this on the CentOS email list
2011 Mar 31
6
Parse selectbox value with javascript
Hey guys, i''ve the following question: how can i parse the value of a selectbox within a div-tag (with the id "ma") via AJAX and use the parsed value for reading out some data from my database. the parsing request should be started by selecting another selectbox. My mainquestion is: how can i parse a selectbox (if possible with rjs) an get the value in ruby (not just in
2007 Oct 11
1
Silence Beeper => Which small UPS's actually support it?
Hello, I'm looking for a UPS that the beeper can be silenced with nut via ups.beeper.status variable for a HTPC close to bedrooms. I have googled extensively and there is not a lot of information about which UPS's actually support this feature. There are few references to UPS's that apparently list ups.beeper.status as being available, but without actually being
2006 Jul 13
1
what does the ''select(x,y,w) function/command do in Rails?
Hello there, I''m new with Ruby and I''m trying to develop a web app. I''m following an example from the book and they used ''select( )'' with three parameters...what exactly does ''select ( )'' do? I''m trying to have a scroll down button that will let me select one of the options. Is there another way to accomplish this? I
2006 Jul 20
4
drop down list
hello friends , can u pls tel me how to add drop down list in railsapplication -- Posted via http://www.ruby-forum.com/.
2006 Apr 21
8
FastCGI: Apache 1.x or 2 on new Debian System?
Hi, I am just installing a new test environment, but this is just for preparing the next one, which will be a production server. I am doing a clean Debian Sarge 3.1 install with stable sources. I have to decide if I install Apache 1.x or 2 now. I have read that FastCGI is better supported/developed for Apache 1.x. Is this (still) true? What is easier, more stable, etc? I want to run rails
2006 Apr 24
5
radrails gone mad
Hi *, I have been using radrails as an IDE for awhile now and we were getting along just fine - but recently it has just gone totally postal?!?? I created a new rails app - when I click to expand the folders there is no framework in place, just the root folder of the app. To add insult to injury two weeks of work also just disapeered - I kid you not just gone without any deletion on my part.
2006 May 16
2
liquid: passing objects
I''ve got Liquid installed and maybe since I''m not coming in with Django experience, I''m completely mystified by how to pass anything worthwhile to a template. In my controller: def preview @customer = Customer.find(1) @letter = Letter.find(1) @liquid_body = Liquid::Template.parse(@letter.body) @x =