similar to: Noob Question: Regarding Form

Displaying 20 results from an estimated 300 matches similar to: "Noob Question: Regarding Form"

2006 Apr 20
5
strange mysql problem
i have this model: class LineItem < ActiveRecord::Base belongs_to :quote end in the console: >>l = LineItem.create ActiveRecord::StatementInvalid: Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' , , , )'' at line 1: INSERT INTO line_items (`qty`, `quote_id`,
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 189
Hello and thanks for emailing B2B Logic. I am out of the office until Monday June 19th. Any emergency problems, comments or concerns should be directed to Ryan Lundie: ryan@b2blogic.net Thanks Randal Santia B2B Logic.net
2006 May 03
3
using select_date causes errors...
I''m getting errors whenever the user chooses, for example, April 31st ( since there is no 31st in April, navicat freaks out ), there MUST be a method that ruby has that would allow me to validate a date before I submit to navicat. I haven''t been able to find anything online about it either, it''s probably something simple, I just can''t figure it out. Thanks
2006 May 01
4
When to make a new controller
Hey all, Ok this is probably a newb question, but I haven''t been programming with MVC for very long, and I''ve been wondering what the general opinion is, or best practices, for making a new controller. Like what cases would you need a new controller for and what cases can you just put everything into one controller? Thanks in advance, Randal -- Posted via
2006 May 02
3
Ordering Results returned by has_many relationship.
Noob Question 31,265,232 if I''m searching on an object, say order, that has many "order_lines" and I want to display order lines by Quantity ( an attribute of the order_lines ) descending how could I do that without having to do a find() with :order, but something like; Order.order_lines.each do |ol| <!-- code to diplay the line --> how can I determine the field
2006 May 09
6
RJS, & mulitple Drop Down Boxes.
Hello Again Rails Folk! I''m trying to creat a page similar to what the person is doing here... http://mudabone.com/aietc/?page_id=410 Instead of doing it the way he/she has, I decided to use RJS files, or at least I tried. Here''s my view <%= start_form_tag %> <%= javascript_include_tag "prototype" %> <p> Union: <div id="union">
2006 Jun 29
1
before_destroy & verification
Hey, probably an easy question but, I''m trying to get a method to run "before_destory" for a model, and I want the method to throw an error, and not delete the object from the database, if a certain condition is held Obviously, I can just raise an error and rescue it... but for some reason I can''t get <% error_messages_for ''model" %> to catch
2006 May 09
7
going crazy!!!!!! ActiveRecord::StatementInvalid in Project
any suggestions on why I am gaining this error. ActiveRecord::StatementInvalid in ProjectsController#create Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' , , , , )'' at line 1: INSERT INTO projects (`name`, `date_created`, `quote_id`, `client_id`, `description`, `user_id`)
2006 Apr 25
2
Noob Question: REgarding Forms ( Take 2 )
I''m hoping there''s an easy way to do this. I''m trying to read options from a database, and insert them into form tags. So for example, In the Database Table: options size: 300 type: text_field maxsize: 300 and I want to create a text_field form tag, with all the appropriate options, is there an easy way to do this, other than having the code output the HTML
2006 Aug 16
4
New Model Object from Existing Model Object
Hey Guys, need a hand again.... Lets say I have an Order... and an Order has Order Lines and Order_Lines have Items... I want to create a New Order, which would have New Order Lines with the same Items... Is there a fast / easy way to do this, w/o having to create a new order, loop through all the order lines, and create them associating them with the Items? Any help would be great, thanks --
2006 Jun 05
1
file_column & RMagick
Hi, I have a site where I wish to upload a resize a picture, and store it in the file system. The best solution that I have found for this so far is using file_column. This was working great, for about an hour, but all of the sudden I began to get the following error (only when i attempt to resize). NameError (undefined method `assoc'' for class `Magick::ImageList''):
2019 Sep 25
1
CentOS 8.0 1905 is now available for download
I had fun with that - enter any number you like, if it's not valid it will prompt you with suggestions. It seems to want decimal on the commandline, hex if responding to the prompt. Phil Phil Randal Infrastructure Engineer Hoople Ltd | Plough Lane | Hereford HR4 0LE Tel: 01432 260415 | Website: www.hoopleltd.co.uk Follow us on: Twitter | Facebook | LinkedIn -----Original Message-----
2011 Apr 06
2
XCP - license expiry problem - http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1756 not fixed?
Hello, i have 3 XCP 1.0.0 hosts in a pool, one of them is not enabled: xe host-param-list uuid=402f07f4-99c0-4501-9787-8dee8984e313 uuid ( RO) : 402f07f4-99c0-4501-9787-8dee8984e313 name-label ( RW): xcp1.domain.com name-description ( RW): Default install of XenServer allowed-operations (SRO):
2019 Sep 27
2
CentOS 8.0 1905 is now available for download
What does vga=819 and vga=319 mean? On Wed, 25 Sep 2019 at 01:54, Jon Pruente <jpruente at riskanalytics.com> wrote: > > On Tue, Sep 24, 2019 at 6:53 AM Randal, Phil <phil.randal at hoopleltd.co.uk> > wrote: > > > Workaround is to select the install option, hit the tab key, and append > > vga=819 and hit F10, which starts the graphical installer on a larger
2016 May 23
6
Wildcard X100P Disconnect Problems
Hi All, When the Caller hangup at the voice menu, the wildcard X100P didn't disconnect the calls properly and it just keep looping at the voice menu and timeout and loop again, are there any methods can fix the problems? Please help! Thanks, Randal
2010 Oct 06
1
unknown bootloader
Hullo Everybody ; I am failing to start my new VM and it tells me unkown bootloader . Below are my parameters and output . Could somebody be having an idea of putting right this problem? [root@virtualintranet /]# xe vm-param-list uuid=70645ba3-bcbc-683b-099e-ed197301fcc2 uuid ( RO) : 70645ba3-bcbc-683b-099e-ed197301fcc2 name-label ( RW): PVG1
2019 Sep 27
1
CentOS 8.0 1905 is now available for download
Heads up, Hyper-V Gen 2, CentOS 8 Server with GUI install results in a black screen as updates are needed for X to properly detect and load the video. If you can ssh into the box, do a yum update and it should grab the needed updates, then reboot. Gregory Young -----Original Message----- From: CentOS <centos-bounces at centos.org> On Behalf Of Turritopsis Dohrnii Teo En Ming Sent:
2011 Nov 17
2
[ANNOUNCE] libguestfs webinar TOMORROW (Friday)
I'll be holding a libguestfs live ?webinar? tomorrow, Friday, 18th November 2011 at 16:00 UTC. To convert the date and time to your timezone, do: date -d '2011-11-17 16:00Z' The programme will include: - An introduction to libguestfs features. - Live demonstrations of guestfish, a Python program, inspection, and image resizing. - An overview of major new features in RHEL 6.3.
2003 Apr 28
4
Documentation
Dear Asterisk Users, Are there any documentation that teach how to using Digium Cards to setup a PABX system? Thanks, Randal
2019 Sep 24
6
CentOS 8.0 1905 is now available for download
I feel your pain re Gnome. Installing CentOS 8 on a VMware VM which uses BIOS boot mode using the graphical installer results in an installer gui which is chopped off at the right. Workaround is to select the install option, hit the tab key, and append vga=819 and hit F10, which starts the graphical installer on a larger virtual display. Or, better still, use EFI boot mode for your VM, and it