similar to: Storing multiple choices in databases

Displaying 20 results from an estimated 700 matches similar to: "Storing multiple choices in databases"

2006 Nov 13
9
Setting up Mongrel and Apache , some direction needed
I have a site that is PHP on Apache / RedHat , but will send requests to a subdomain (running Rails) for database operations. I believe the set up should be to have ROR using Mongrel, and an Apache virtual host passing requests from apache to mongrel. Does this sound correct ? I believe the Virtual Host is set up in Apache. One of my problems is I can''t find the httpd.conf file for
2006 Oct 25
7
rest nested resources - Help please
I can''t believe I''m back again with another rest question. I did go through the peepcode podcast. I thought though you can have multiple nested resources, is that not true ? I have this set up map.resources :candidates do |candidate| candidate.resources :canbackgrounds candidate.resources :canpositions end I just coded up teh canpositions and now all
2006 Oct 12
3
Help with observer_form , javascript error
I''ve set up an observer form, it is not working nor throwing error at least in loading the page. The Firefox javascript console is showing this error: Error: missing } after property list Source File: http://localhost:3000/ajaxsearch/list Line: 165, Column: 45 Source Code: hide(''roller'')}, parameters:''Form.serialize(''asearch'')='' +
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
2006 Oct 11
2
Help please with observe_form - not working
My observe_form is basically totally limp. I think it should update without hitting submit button but even if I hit it , it doesn''t change (doesn''t seem to post the data). Can anyone please take a look and see if I"m doing something wrong. TIA Form: <% start_form_tag({:action => "livesearch"}, :id => "asearch") %>
2006 Oct 30
16
Seymore - Content Management On Rails
I have just open sourced my Content Management System called Seymore. Rather than having a separate administration section for managing content, content management functions are available throughout the site so users are able to contextually and comfortably manage the content. I am looking for any and all feedback. Please, either checkout the latest source from subversion, grab version 0.1 from
2006 Nov 04
2
date_select parameter
Trying to add start year to date_select <%= date_select(:start_year => 1980)%> It''s throwing an exception "wrong number of arguments (1 for 0) Can''t I add a start_year, API shows this option ? TIA Stuart http://en.wikipedia.org/wiki/Dark_ambient --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 Nov 24
1
sortable or drag/drop for tables
Is either sortable or drag and drop doable for table elements ? I looked at the wiki and didn''t see anything. Noticed the demos and such are done with <ul><li> ''s I''m wondering about <td> ''s ? TIA Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby
2006 Nov 07
19
DrySQL
DrySQL is a plug-in that extends ActiveRecord to provide a complete DRY solution for Object-Relational Mapping. You''ve defined columns, constraints, relationships, and keys on your DB. With DrySQL you don''t need to re-define any of these things in your Ruby code. If you have tables, keys, and columns that don''t follow the Rails naming conventions, have a complex
2006 Sep 18
2
Datebocks and EdgeRails
Hello, I am having trouble trying to use the Datebooks Engine with Edge Rails. Has anybody try with it? It seems that the problem has something with loading the layout, and complaints about the number of arguments. I will thank any help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT:
2006 Jul 04
1
select(object, method, choices, options = {}, html_options = {})
Hi, I''m using: select(object, method, choices, options = {}, html_options = {}) I''ve read the API where there''s this example: select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }, { :include_blank => true }) should give this code: <select name="post[person_id]"> <option></option>
2006 Jun 15
0
Ajax.autocompleter does not narrow down choices
Hello, I was wondering how to get the Ajax.Autocompleter to behave more like Autocompleter.Local where it narrows the drop down as you type. The local autocompleter seems to exhibit this behavior naturally. Am I missing an argument somewhere? Joe _______________________________________________ Rails-spinoffs mailing list
2009 Dec 11
1
Multiple choices inside the model
Hi, I''m trying to define multiple choices inside the rails model. In Django I would do something like this: location = models.CharField( max_length=3, choices=LOCATION_CHOICES, help_text="Which location do you prefer?"
2011 Jun 24
1
implementation choices, XEN or KVM?
Hello all, I will do research experiment using hypervisor. But I have not decided the platform; both XEN and KVM work for me(my work is about MMU). Though I prefer XEN, it seems KVM is more convenient to modify the source code and more importantly, debug. I appreciate your suggestion. Thanks Liu, John _______________________________________________ Xen-users mailing list
2010 May 19
1
Choices for shared network storage, NFS vs iSCSI
Has anyone here ran performance comparisons between NFS and iSCSI when using network storage for KVM based guests. Also which have people found to be easier for managing live migrates etc. Steve -- Steven Ellis - Bulletin.Net Inc - http://www.bulletin.net
2018 May 28
2
Strange crypto choices
We're aware of those arguments but don't find them convincing enough to switch early. On Mon, 28 May 2018, Yegor Ievlev wrote: > A backdoored curve could be easily generated using the algorithm used > to generate the NIST curves. > https://bada55.cr.yp.to/vr.html > > The algorithm that generates a backdoored curve is very simple: > Suppose the NSA (the author of the
2010 Apr 07
0
CUPS config choices for same printer
I'm trying to add an HP OfficeJet J5480 to my CentOS-5.4 machine. When I "List Available Printers" in CUPS, I'm given 3 choices for the same printer: ----------------------------------- HP Officejet J4500 series (CB780A) HP Officejet J4500 series (HP Officejet J4500 series USB #1) HP Officejet J4500 series (HP Officejet J4500 series USB CN89C552GR052T HPLIP)
2005 Mar 21
1
menu() and commands assigned to choices ->break out a repeat loop so that the next code lines to be read
first:I'd like to have the choice between breaking out a repeat loop or continue it then: i'd would like my code after the end of my repeat loop not to be read unless I type 2 (to continue executing the content of my repeat loop) THAT'S THE PROBLEM Is there any way to go straight out of the loop (like a "goto" associated to a "label") or a pause like command to
2012 Dec 05
2
Samba server choices
I have been running a customized version Amahi for a couple years for my Samba server. It is time for an upgrade, and I will be moving away from Amahi, as they have abandoned Fedora for Ubuntu. Back when I selected Amahi to replace my 15 year old NT server, I looked around and only considered SME Server as an alternative, but they were still on Centos 4.7 with the Centos 5 based version
2018 May 27
2
Strange crypto choices
On Mon, 28 May 2018, Yegor Ievlev wrote: > Can we prefer RSA to ECDSA? For example: > HostKeyAlgorithms > ssh-rsa,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 not without a good reason