similar to: How to create application with single table with primary key

Displaying 20 results from an estimated 10000 matches similar to: "How to create application with single table with primary key"

2005 Dec 28
2
How write input form (layout/controller) so I can enter Id
I reformulate my needs. How I can write (layout/controller) so I can read value of Id from the new form when creating new record. With following structure: CREATE TABLE words ( id INTEGER PRIMARY KEY, word VARCHAR(40) ); I want enter new records like: id=47812, word=''pes'' id=1382, word=''krough'' id=67145, word=''brum'' --
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me. After a few weeks I returned to the rails to play with it. But I recognize that I''m now not abble to build appdoc. The same thing that few weeks ago worked without an problem now give me an error: unrecognized option `--line-numbers --inline-source'' $ rake --trace --verbose reappdoc (in /home/radek/src/firma/giga-net/ncc/work) ** Invoke reappdoc
2002 Aug 06
8
converting MASQ from ipchains
Hello, on my old system I''m using ipchains. Can anyone help me with converting rule /sbin/ipchains -A forward -j MASQ -s source_addr -d destination_addr 443 -p tcp to shorewall. I know that I can write eth0 source_addr to /etc/shorewall/masq file but I can''t found where I can specify the destination address. The reason for this is to allow one user (computer) access only to
2005 Dec 30
2
I have problem and/or not fully underestand rails --svn
I experimented with rails --svn option. I use following commands 1 $ su root "mkdir -p /var/lib/svn/projekt; chown radek:radek /var/lib/svn/projekt" 2 Password:heslo roota 3 $ svnadmin create /var/lib/svn/projekt 4 $ mkdir -p /tmp/projekt/trunk 5 $ svn import -m "Creating empty project projekt" /tmp/projekt file:///var/lib/svn/projekt 6 //var/lib/svn/pokus 7
2007 May 23
16
WiFi SIP phones
Greetings list, What are people's experiences with WiFi SIP phones? When I last looked into them about 18 months ago, they were incredibly expensive, had very limited range and poor battery life. In the end, it worked out much more cost effective to simply use ATAs + DECT cordless phones where there was a requirement for portable devices. I assume things must have moved on somewhat since
2007 Mar 31
2
Meetme question
Hi, I'm experimenting with the Meetme feature of Asterisk 1.2, exten => 2095,1,MeetMe(|Ds) This almost gives me what I want, where each employee can create their own on-the-fly conferences with a personal Conference Number and PIN. However, as the PIN is actually set by the first callee, then its subject to problems (first callee might enter the wrong PIN, and then no-one else can
2017 May 10
2
How to detect fake CallerID? (8xx?)
It's probably not practical to have them answering the client's telephone! At a lot of sites, incoming calls would be handled by auto attendant, diverted to answering service, etc. --Don -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sebastian Nielsen Sent: Wednesday, May 10, 2017 2:46 PM To:
2006 Feb 15
10
STI Question
Hi everyone, I have 3 types of people (for now): Staff Faculty Students To break them up into classes, but keep them in the same People table, I''ve broken them up like so (code and ''ends'' snipped): class Person < ActiveRecord::Base class Employee < Person class Staff < Employee class Faculty < Employee class Student < Employee So, when I insert
2017 May 10
4
How to detect fake CallerID? (8xx?)
On Wed, 10 May 2017, J Montoya or A J Stiles wrote: > Presumably your staff carry mobile phones. What about an app that gets > the ID of the cell tower to which it is connected, and passes it and the > SIM number in a HTTP request to a server you control? The problem is that they are supposed to use the 'site landline' to confirm presence -- not their cell phone with the
2008 Jul 20
10
STI and fixtures
Hi all ! Loading fixtures doens''t seems to associate my 2 objects, do know what''s wrong ? In app/ class Manager < Employee has_many :employees, :foreign_key => :reports_to end class Employee < Person belongs_to :manager, :foreign_key => ''reports_to'' end class Person < ActiveRecord::Base belongs_to :address end fixtures for
2011 Dec 30
3
qemu-kvm
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20111230/f132dad8/attachment-0004.ksh> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20111230/f132dad8/attachment-0006.html>
2006 Apr 26
5
Best way to split forms into steps?
I have a form with about 30+ fields, which the client is wanting to separate into 3 pages/steps - just wondering what is the best way to go about this, specifically remembering data entered, from one page to another, and making sure the various bits of data are validated correclty, error messages outputted etc etc... is there a best practice method for doing this? -- Posted via
2008 Dec 19
5
Authorize & Microsoft SQL
Hello Everyone, I have an installation where the client has a Microsoft SQL database that holds all of their case information. They would like the asterisk system to require users to enter a valid case number when making an outgoing call. I?m seeing some documentation regarding people using Microsoft SQL for CDR storage, however nothing regarding validating authentication using a Microsoft SQL
2014 Nov 18
2
[LLVMdev] finalizeObject function implemetation in MCJIT is wrong
Hi Radek, Sorry for the delayed response. I haven't had time to check your analysis yet, but you're probably right: MCJIT's support for multiple modules in a single instance is patchy at best. Do you have a test case (e.g. an lli invocation) that triggers this bug, or is this something you discovered just by reading the code? Cheers, Lang. On Thu, Nov 13, 2014 at 8:46 AM, David
2004 Jan 20
3
Enter Pin followed by Pound key
Im trying to create a custom application via the AGI. I want to authenticate the users that dial in with a userid and pin. However, the number of digits in the PIN and userid are variable, and therefore I need to allow the user to "press enter" by hitting the pound key. How would I accomplish this in the AGI? stream_file doesnt seem to work, since it only allows one digit to be
2007 Jul 09
3
NoMethodError when using find_by_sql
I''m try to verify users on login. Here is my code: def self.authenticate(username,password,account_code) employee = self.find(:all, :select => "e.id, e.first_name, e.last_name, e.username, e.account_id, e.department_id, o.pay_type_id, o.admin_yn, o.payroll_yn, o.files_yn, o.dept_report_yn,e.salt, e.hashed_password", :conditions => ["e.deleted_yn=0 and
2006 Jun 14
1
One table, two models.
so i have a people table, and a person has a persontype. the person types are customer, and employee. I would like to make them into two models, where i can call Employee.new(:name => ''chris'') and it would make a person with the name chris and the persontype of employee, and be able to do the same thing for Customer. is this possible while still using only the one
2017 May 11
2
How to detect fake CallerID? (8xx?)
Seems like this is the best idea (challenge-response), a callback. No matter the callerid, you don't know where the caller is. But if you place a call BACK to the callerid, it's going to go to the destination. Then you either need the phone to be answered, or the phone to be answered and and the challenge entered. Adam Goldberg AGP, LLC +1-202-507-9900 -----Original Message-----
2014 Nov 20
2
[LLVMdev] Cannot debug objects added with "-extra-object" in lli.
Hi guys. I found a little bug in implementation of MCJIT. I noticed that when I added object file (with all needed debug information) to lli by using -extra-object flag, it's impossible to debug it with gdb. Object file is in ELF format generated by llc. It is properly loaded by mcjit. I noticed that the reason is probably in lack of calling "registerWithDebugger()" after object
2015 Nov 24
6
ssh-copy-id bugfix
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello everyone! i'd like to sincerely ask you to include a fix for ssh-copy-id bug i'll be linking below. it's a trivial fix which resolves https://bugzilla.mindrot.org/show_bug.cgi?id=2206 and eases life of many. it's been field-tested by redhat devs and users so i see no problem in incorporating it.