search for: customer_number

Displaying 4 results from an estimated 4 matches for "customer_number".

Did you mean: mmcustomer_number
2006 Jan 11
3
How do you do a custom sql call in rails?
Hi. I am developing an industry specific crm that allows busineses to track customers in a particular way. Each customer will be assigned a customer number. The first customer will have a customer number of 1, the second customer_number = 2, etc... Note that this customer number is not global but particular to the account that created the customer (see schema snip below). I need to have a way of generating the next available number for that particular account. I have used a custom sequence table to do this type of thing in th...
2013 Jun 18
1
How to Pass Jquery selected dropdown values and radio button values to controller
...r</p> <%= radio_button_tag ''user_type'', ''supplier'' %><p>Supplier</p> <% end %> <h2>Search Criteria</h2> <div id="dropdown"> <p>State</p> <%= collection_select(:customer, :customer_number, Customer.all, :id, :state) %> <p>City</p> <%= collection_select(:customer, :customer_number, Customer.all, :id, :city) %> <p>Name</p> <%= collection_select(:customer, :customer_number, Customer.all, :id, :name) %> </div> <div id=&...
2007 Oct 07
2
How specify foreign key column name in model?
In a model declaration I can specify the name of the primary key column with set_primary_key "CUSTOMER_NUMBER" How can I set the name of a foreign key column that does not conform to the RoR naming convention. Does the following work? set_foreign_key "CUSTOMER_NUMBER" If not, how can I specify the name of the foreign key column? Thanks. --~--~---------~--~----~------------~-------~--~--...
2006 Feb 21
2
start_form_tag with method GET
Hi, How can I get start_form_tag to use GET instead of POST? I have tried... <%= start_form_tag {:action => ''search''}, {:method => ''get''} %> But it doesn''t work... compile error ./script/../config/../app/views/search/index.rhtml:35: syntax error _erbout.concat(( start_form_tag {:action => ''search''}, {:method =>