Displaying 20 results from an estimated 10000 matches similar to: "Best practice for params key names for mapping to models"
2006 Mar 06
2
is "alias" reserved?
I''m playing with an online store....
I have an orders table which holds orders (pricing, statuses, etc).
An orderDetails table which holds detailed line items (itemNumbers, unit
prices, etc).
Each order can have multiple shipping addresses, so I also have
an addressbook table. Each orderDetail is tied to an addressbook entry
via the ordernumber and addressbook alias, but this
2010 Jan 21
2
Help with correct text file syntax EXCLUDE/INCLUDE + OPTION
Hi,
Linux-Ubuntu here. English is not my first language. The man rsync is
difficult to understand. I want to backup some folders recursively and
some files, see [1] in my /home dir to an external USB HD (Ext4). I want
to use a text file for the purpose.
[1]
/home/user/Documents
/home/user/Software
/home/user/.evolution/addressbook/local/system/addressbook.db
2009 Jun 29
0
Problem with 2.3 nested forms and new elements
Hi,
I''m using the new nested forms functionality and I having problems with
new created elements.
I have an invoice with lines. I would like to be able to create a new
invoice, in the same form insert new lines dinamically and saving the
invoice and the lines when everything is validated, not before.
The problem is that when I add a line dinamically to the form, the new
line created
2006 May 24
1
does select support arrays in a form with multiple models?
i have a one-to-many model (an addressbook of contacts with many phone
numbers). i want to represent a select element so that its name is an
array containing the phone_number id...
<select id="phone_number_1_location_or_kind"
name="phone_number[1][location_or_kind]">
<option value="Work">Work</option>
<option
2006 Feb 08
5
Mysql::Error: Lost connection to MySQL server during query:
Hi,
I am having Mysql connection problem for my first AddressBook
application (which I took it from
http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/)
I have gem installed the latest ruby, rails, lighttpd, fastcgi,
mysql-4.1.14 on linux. Everything looks good. When I do:
mysql -h localhost -u test -ptest -D AddressBook
mysql> SELECT COUNT(*) FROM contacts;
+----------+
|
2010 Oct 27
2
Problem with namespace (maybe bug?)
Hi!
Could you tell me what is wrong with an "existence" of mailbox?
Please see the two examples:
. list "" "*"
* LIST (\HasNoChildren) "/" "Trash"
* LIST (\HasNoChildren) "/" "Junk"
* LIST (\HasNoChildren) "/" "Sent"
* LIST (\HasNoChildren) "/" "Drafts"
* LIST
2004 Nov 07
2
Symlink file syncing issue
Hi!
I've been attempting to use rsync to sync a set of files between my
laptop and my desktop. I've tried using google to search the archives,
but didn't find anything that addressed this issue exactly... First of
all, here are the details of how I have things set up.
Server acting as the intermediary:
OS: Mac OS X Server 10.3
rsync: 2.6.2
Laptop:
OS: Mac OS X 10.3.6
rsync: 2.6.2
2006 May 08
4
gsub no workie
Don''t know why, but cant seem to get this to work for me.
I have a phone number field for an addressbook. In the addressbook model
I have a before_update declaration that says the following:
I''d like to be able to remove all special characters (just numbers
please), but this doesn''t want to work for me.
before_update :format_phone
def format_phone
self.phone =
2003 Aug 20
1
including file from excluded directory
I'm trying to explicitly include a file that exists under a directory
that I otherwise want excluded. Here are my command and include list:
rsync -e ssh -Cavz --delete --update \
--include-from=$HOME/.rsync.laptop . $DEST:
where $DEST contains the remote machine name and this is being run
from the top of my home directory. My include list is:
+ /.addressbook
+ /.ICAClient
+
2003 Oct 06
0
OpenSSH_3.6.1p2: key authentication on HP-UX.
The address you sent this to is not the appropriate place for general
problem reports regarding Portable OpenSSH. Unless you're reporting a
security exposure you should use openssh-unix-dev.
Gina Demars wrote:
>
> We currently upgraded one of our HP-UX systems to version 3.6.1p2.
With the appropriate security patch, I hope?
> I have
> RSA keys from other Unix systems that are
2008 Dec 23
2
rails 2.2 connection to MySQL
I have been trying to connect to MySQL thru rails. Initially I had
rails 2.1.2 and upgraded to rails 2.2 to use RestAPI in sproutcore.
Once I have upgraded my rails version to 2.2, I have been getting this
error. All I did is the following:
1. rails addressbook
2. cd addressbook
3. script/generate scaffold Contact first_name:string lastname:string
4. rake db:migrate
I also change the
2000 Jun 11
1
NFS Quotas and Samba 2.0.7
Hello everyone!
I am currently running Samba 2.0.7 on a RedHat Linux 6.1 box. My user home
directories on this box are NFS mounted from another server. Quotas have
been enabled on this server and rpc.rquotad is running.
On Linux, I can see the user's quotas via a quota -v <username> :-
testing:~# quota -v try
Disk quotas for user try (uid 1006):
Filesystem blocks quota
2015 Sep 11
0
Dovecot CalDAV server
Am 10.09.2015 um 23:43 schrieb Timo Sirainen:
> I've been once in a while over the years thinking about implementing CalDAV (and CardDAV) to Dovecot. It might be time to start that soon. Does anyone have any suggestions? So far my main goals would be:
>
> - scalable, of course
> - configurable storage (object storage, regular fs, maybe some key-value dbs, maybe storing as
2015 Nov 21
1
[PATCH -qemu] nvme: support Google vendor extension
On 21/11/2015 00:05, Ming Lin wrote:
> [ 1.752129] Freeing unused kernel memory: 420K (ffff880001b97000 - ffff880001c00000)
> [ 1.986573] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x30e5c9bbf83, max_idle_ns: 440795378954 ns
> [ 1.988187] clocksource: Switched to clocksource tsc
> [ 3.235423] clocksource: timekeeping watchdog: Marking clocksource 'tsc'
2007 May 16
2
selinux-policy-targeted-sources and CentOS 5?
What is the equivelent "selinux-policy-targeted-sources" package in
CentOS 5? It was available in 4.4. Thanks for any help.
--
Jiann-Ming Su
"I have to decide between two equally frightening options.
If I wanted to do that, I'd vote." --Duckman
"The system's broke, Hank. The election baby has peed in
the bath water. You got to throw 'em both out."
2019 Mar 11
3
thunderbird addressbook with samba AD
Hi
I am trying to make thunderbird addressbook works with my samba AD but with
no success. I tried many articles about this but none of them work with my
config.
Does anybody made it with success ?
Marius
2008 May 10
4
from RubyCocoa to wxRuby ?
hey all,
thanks to alex who help me to get the latest running on my box ( Mac OS X
10.4.11)
to get it working download the latest gem locally cd to the directory where
it lies and :
$ sudo gem install --local wxruby
u''ll get :
Successfully installed wxruby-1.9.7-universal-darwin-9
1 gem installed
;-)
A question, my first test will be to convert a RubyCocoa project into
wxRuby.
this
2017 Sep 21
1
Are your symlinks identified as symlinks on Samba/SMB shares?
Hi,
I would appreciate someone testing if their system can recognize symlinks (as below) on their SMB share. My Mac and Windows machines can NOT recognize symlinks on my NAS's SMB share, they just identify symlinks as real files and folders.
Why is this an issue? Because when I try to copy parts of these backups from the NAS it just loops back on itself forever.
Eg:
From NAS (QNAP TS-453A)
2006 Sep 02
1
Access email and addressbook from everywhere
Hello.
I using evolution for email, and runs well, now the next that I would
like is access to my email and evolution addressbook from everywhere.
What should I install? there is any webmail that can use evolution
settings? Or better a program for control that computer that I can
access from any computer with a web browser? There is anything as this?
Josep
2019 Mar 11
1
thunderbird addressbook with samba AD
Em 11/03/2019 14:12, Jeremy Allison via samba escreveu:
> On Mon, Mar 11, 2019 at 09:21:39AM +0100, Marius via samba wrote:
>> I am trying to make thunderbird addressbook works with my samba AD but with
>> no success. I tried many articles about this but none of them work with my
>> config.
> Need more data about how and why it fails. There's not
> enough here to