similar to: Does Rails need more useful form helpers?

Displaying 20 results from an estimated 1000 matches similar to: "Does Rails need more useful form helpers?"

2006 Jan 02
1
Dealing with collections of model objects
For an application I''m writing I have a model object, "Answer", many of which are associated with a "Request" object. A user will need to answer many questions, each of which is stored in an Answer object that is associated with their request (Request has many Answers). Is there an easy way to create and then validate each of these Answer objects? I basically want to
2006 Jul 09
2
filters
Hi, ...i''m fairly new to ruby on rails, so maybe this is a simple question, but i''ve been racking my wits for a while now, but i can''t figure out why this isn''t working... i''m implementing some kind of a questioniere, so that when a user picks a certain answer, the value of that answer goes into a session variable that stores the amount of points
2010 Apr 28
7
operator problem within function
Dear all, i have a problem with processing dataframes within a function using the "$". HereĀ“s my code: recode_items = function(dataframe,number,medium=2){ # this works q<-paste("columna",number,sep="") # this does not work, particularly because "dataframe" is not processed # dataframe should be: givenframe$columnagivennumber
2006 Dec 01
2
more_like_this not working?
Hi all, using ferret 0.10.13 and aaf trunk, i cannot get more_like_this to work. I read other posts on this forum related to that, but that did not solve it. I have a model Question with a field question_text. I do: ----------------------------------------------- >> q = Question.find(:first) >> q.more_like_this NoMethodError: You have a nil object when you didn''t expect
2006 Mar 15
7
Populating text_tag with serialized data
I am using a serialized attribute in one of my models The serialized data is in the form of an array. I want to have a text_tag for each element contained in my serialized attribute. How would I construct the text_tag? My model name is ''questions''. The serialized attribute is "answers" So I might have: <% form tag %> <% text_tag ''question'',
2008 Aug 01
1
3 opportunities open for Full Time positions in Toronto, Canada
Hi Guys, I have 3 opportunities open for Full Time positions in Toronto, Canada 1. Intermediate System and Network Administrator - Salary Range 55-65K CAD per anum Looking for someone with 5+ years of experience working with Linux/Unix systems. Networking and Windows experience not as important. - Manage Linux systems - Manage FreeBSD systems - Manage Cisco switches - Manage Foundry
2007 Mar 03
3
How to convert List object to function arguments?
Dear R gurus, I have a function "goftests" that receives the following arguments: * a vector "x" of data values; * a distribution name "dist"; * the dots list ("...") containing a list a parameters to pass to CDF function; and calls several goodness-of-fit tests on the given data values against the given distribution. That is: ##### BEGIN CODE SNIP #####
2006 May 22
1
win2k memory problem with merge()'ing repeatedly (long email)
Good afternoon, I have a 63 small .csv files which I process daily, and until two weeks ago they processed just fine and only took a matter of moments and had non noticeable memory problem. Two weeks ago they have reached 318 lines and my script "broke". There are some missing-values in some of the files. I have tried hard many times over the last two weeks to create a
2006 May 17
7
Errors are not being added
In the following code, I''m trying to add an error '':promo'', but this error doesn''t seem to add when I debug it. Does anyone have any idea why this isn''t working for me? @business = Business.new(params[:business]) @business.errors.add(:promo) -- Posted via http://www.ruby-forum.com/.
2016 Nov 30
2
Sieve script won't compile. Compiler output isn't helpful.
Hey martin, Thanks for the reply! I made the changes you suggested but I got the same results. According to my understanding, #header "from" "person at example.com"# is correct for an exact match. On 11/30/2016 04:10 AM, Martin Wheldon wrote: > Hi Steven, > > I think you may be missing the :contains from the two header lines below: > >> if anyof (header
2008 May 15
9
Squeegy Fleximage Routing
Hello people, I''m using squeegy fleximage for my site right now and having some difficulty to achieve some things. Updates photos are saved in created at date generated fom like : '' /images/2008/05/14/22.png '' . However this route is not accessible through the browser and I don''t know how to add it in my routes.rb knowing that the dates will change everyday.
2016 Nov 30
3
Sieve script won't compile. Compiler output isn't helpful.
Hello Martin, Wow. That was indeed the problem. I have been staring at that small script for a week and I just couldn't see it. I even had a friend look at it and he couldn't find it either. I feel a bit ridiculous now. Thanks so much for your help, Steven On 11/30/2016 04:48 AM, Martin Wheldon wrote: > Hi Steven, > > OK a on closer inspection :) > > You are missing
2017 Jun 22
1
(no subject)
[global] workgroup = ... security = ADS realm = .... passdb backend = tdbsam log level = 3 vfs:2 syslog = 0 encrypt passwords = yes template shell = /bin/csh map to guest = Bad User deadtime = 30 winbind separator = / winbind refresh tickets = yes winbind trusted domains only = no
2016 Nov 30
2
Sieve script won't compile. Compiler output isn't helpful.
Hello! I hope you will forgive my ignorance but I have a problem I have been trying to solve for a week and I'm not sure where else to turn. I'm trying to write a sieve script to sort all of my mail. I was writing this script to replace the one I am currently using but I can't seem to get it to compile. I don't know a lot about sieve or really scripting of any kind and I just
2017 Jun 22
2
(no subject)
Good afternoon. Faced an incomprehensible problem in the work of Samba 4.4.5 and Samba 4.6.4 In the config I have the parameters: Directory mask = 0770 Force directory mode = 0770 Create mask = 0770 Force create mode = 0770 On systems starting from Windows XP and above, as well as with MacOS X 10.8 and higher, everything works right. But on MacOS X 10.6 - 10.7 systems, why folders and files are
2010 Jun 15
4
TPROXY configuration
I''m trying to get TPROXY / Squid running and I have a few questions... I found this page: http://www.shorewall.net/Shorewall_Squid_Usage.html#TPROXY However, it doesn''t explain what I''m seeing in the configuration. For the zone file, do I keep my loc and net configurations and just add the following to the file? - lo - - or do I remove the loc and net zones and
2012 Feb 20
2
Promo Store is now open
hi Guys, We've been trying to get something like this setup for long time, now thanks to Khusro Jaleel's efforts its online! The CentOS Promo request system is available at http://promo.centos.org/ And we have some TShirts there - three different designs, six different colours and a few options on sizes for each type. Get them quick! The TShirts are already paid for by sponsors, all you
2017 Sep 15
1
Calculating Weeks Since Last Event
Hi, I have an input data > dput (input) structure(list(ScanDate = structure(c(16433, 16440, 16447, 16454, 16461, 16468, 16475, 16482, 16489, 16496, 16503, 16510, 16517, 16524, 16531, 16538, 16545, 16552, 16559, 16566, 16573, 16580, 16587, 16594, 16601, 16608, 16615, 16622), class = "Date"), OnPromotion = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1,
2017 Jul 26
3
Wiki rights requested: Various SIG pages
On 07/25/2017 10:03 AM, Akemi Yagi wrote: > On Tue, Jul 25, 2017 at 6:13 AM, Rich Bowen <rbowen at redhat.com> wrote: >> >> >> https://wiki.centos.org/SpecialInterestGroup/SCLo >> >> https://wiki.centos.org/SpecialInterestGroup/Promo >> >> Thanks! >> >> --Rich > > You should have edit rights everything under >
2008 Jun 16
2
Re: [CentOS-promo] Intro and Translation
On Mon, 16 Jun 2008, wonderer wrote: > Ralph Angenendt schrieb: >> wonderer wrote: >> >>> So, I have build a Wiki Account under HenrikHeigl. If anybody can give me >>> write-permission I can put in some stuff :-) >> >> centos-docs list, please - and at the moment we really would prefer if >> you told us *what* you want to put in *where*. This