Displaying 20 results from an estimated 100 matches similar to: "RoR completely ignoring a column when saving changes"
2006 Apr 10
1
How to set foreignkey in such a situation?
Table articles has column: author,body,etc
Table users has column: login_name,email,etc
articles belongs_to user
users has many articles
foreign_key author references users(login_name)
Therefore in Article.rb:
belongs_to:article_user,
:class_name=>"User",
:foreign_key=>"author"
and what''s going on? how the rails find the reference
2007 Apr 25
2
form_remote_for, reloaded
Hi,
being relativly new to RoR, I''m having a problem which I found described
in this forum and somewhere else - but with no solution. I know, that it
may be bad to mix table and form tags, but the first solution of an in
place editing within a table looked nice:
Version using form_for:
<tr>
<%form_for :time_record, :url => { :action => "add_time_record" } do
2006 Feb 23
3
Unable to update database object
This is really strange - hopefully someone out there may have seen
behavior like this before. I have a user successfully created in the
Users table of my application. When I try to update a single column
using:
@user = User.find(:first,
:conditions => ["login_name = ?",
@login_user.login_name])
@user.new_cookie_key
@user.save
I get the error:
2014 Jun 23
1
-h, --help option
Hi,
tmux author refuses to add -h, --help option, because OpenSSH
does not have it [1]. I don't see why convenience features of tmux
should depend on OpenSSH, but because I have no other choice
(and got curious) I ask here - why OpenSSH doesn't provide -h or
--help option?
I use PuTTY as my client, which processes --help option, and for
`ssh` binary I usually use Google + StackOverflow.
2009 Jul 09
0
[PATCH] Allow binding to a local port (OpenSSH 5.2)
OpenSSH supports the -b bind_address argument for binding to a local
IP address when connecting to a remote host.
It's however currently not possible to specify a local port to bind
to, something I've found useful at several occasions.
Below is an unified diff that introduces the [-B bind_port] option to
ssh(1) and a ssh_config(5) style option "BindPort bind_port".
This allows
2015 Mar 09
0
Outlook 2013/2010 nightmare #2
Hi All and my sincere thanks to Jakob and Joseph for your responses.
I got around the nightmare for this site but it is far from satisfactory
and given both Thunderbird, Roundcube and the Android e-mail client work
perfectly as expected, this following links comments enforce what I
experienced over the weekend:
http://comments.gmane.org/gmane.mail.imap.dovecot/79231
I have not struck this
2015 Mar 10
2
Outlook 2013/2010 nightmare #2
Yes Eric,
Outlook also has a declaration that as of either version 2010 or 2013,
they no longer download IMAP headers, they download the whole message -
thank God for faster Internet connections these days - could you imagine
that in the older dialup days? Still it is a waste of bandwidth and disk
space to do this.
I am so tired of how they claim to use the RFC and indicate they are
2001 Sep 13
4
ssh argv[0] support
Right - I know you've had a discussion about the argv[0] stuff
already, but I've written this simple script to simulate the (now
missing) support for Debian, and was asked to send it to you...
--- ssh-argv0 ---
#! /bin/sh -e
if [ "${0##*/}" == "ssh-argv0" ]
then
echo 'ssh-argv0: This script should not be run like this, see
ssh-argv0(1) for details'
2006 Mar 08
1
MSSQL error - 80004005 & Rails
hey there folks, i have a bit of a sitch here and i would love some
help/input on it.
i''ve inherited a horrible asp/mssql app that i''m re-writting using
rails, but unfortunately i have to keep the asp version up and running.
in order to do so i''ve had to write some admin functions, which i''ve
done in rails. because the mssql schema wasn''t written
2007 Mar 17
0
Unit test problem -- BetterNestedSet?
After adding
validates_uniqueness_of :login_name
to a User model that acts_as_nested_set using BetterNestedSet, my unit
tests started failing.
On investigation, I found that valid? wasn''t true for the records in
question after they were created.
Running the exact same sequence of tests by hand in the console --
creating records, then calling move_to_child_of on them -- works fine.
If
2004 Nov 20
1
[Bug 955] ssh -h " Displayed as illegal options " in SSH 3.9
http://bugzilla.mindrot.org/show_bug.cgi?id=955
Summary: ssh -h " Displayed as illegal options " in SSH 3.9
Product: Portable OpenSSH
Version: 3.9p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
2020 Jan 26
1
[Bug 3115] New: Add --help
https://bugzilla.mindrot.org/show_bug.cgi?id=3115
Bug ID: 3115
Summary: Add --help
Product: Portable OpenSSH
Version: 8.1p1
Hardware: Other
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: Documentation
Assignee: unassigned-bugs at mindrot.org
2005 Sep 09
2
Red Hat Hardware Catalog
Hello
Did anybody get any result for search in "Red Hat Hardware Catalog"
http://bugzilla.redhat.com/hwcert/list.cgi?product=Red%20Hat%20Hardware%20Certification&quicksearch=3com&order=bugs.internal_whiteboard,bugs.bug_status%2Cbugs.priority%2Cmap_assigned_to.login_name%2Cbugs.bug_id&offset=
On question for "3Com" I get only answer "15 certifications
2015 Mar 11
0
Outlook 2013/2010 nightmare #2
"David.M.Clark" <david at davrom.com> writes:
> So the bottom line for this particular site is:
>
> Set the "Root Folder" for IMAP in outlook to "mail". This is messy from
> my beloved Linux command line perspective in that you end up with
> ${HOME}/login_name/mail/mail. But it does work and stops the Outlook
> crashes.
If "root
2004 Sep 08
0
[PATCH]Extending user@host syntax
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
the following patch extends the user at host syntax on the ssh command line to
allow an additional HostKeyAlias and Port to be given as a single argument, eg:
ssh user at localhost%8022,www.tdl.com
is equivalent to
ssh -o 'HostKeyAlias www.tdl.com' -p 8022 user at localhost
The patch is particularly useful when ssh is called from
2013 Nov 23
2
[Bug 2174] New: no-pty in authorized_keys does not prevent and interactive shell
https://bugzilla.mindrot.org/show_bug.cgi?id=2174
Bug ID: 2174
Summary: no-pty in authorized_keys does not prevent and
interactive shell
Product: Portable OpenSSH
Version: 6.4p1
Hardware: All
OS: Linux
Status: NEW
Severity: security
Priority: P5
Component: sshd
1999 Jan 04
0
SAMBA digest 1927
samba@samba.org schrieb:
> SAMBA Digest 1927
>
> For information on unsubscribing see http://samba.org/listproc/
> Topics covered in this issue include:
>
> 1) Re: Three problems with Windows NT
> by afan@www.jeonet.com (Afan Ottenheimer)
> 2) NT Logon Authentication
> by Tim.Brennan@coat.com
>
>
2009 Feb 18
1
ssh -f & pid
Hi,
Ssh -f forks itself in the background. Very usefull if you would like to
e.g. tunnel munin over ssh. Now it's tricky to terminate one process if
you have multiple running.
It seems that ssh currently (looked at 5.1p1) has no write-pid-to-file
functionality
So I implemented a patch which do so. Tested it a little and it seems to
work. Hopefully it is of any use in my form or inspires the
2017 Mar 07
4
[Bug 2690] New: Add command line "ssh --version"
https://bugzilla.mindrot.org/show_bug.cgi?id=2690
Bug ID: 2690
Summary: Add command line "ssh --version"
Product: Portable OpenSSH
Version: 7.2p2
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at
2009 Jan 27
2
Login form_tag with select_tag option
Hi all,
In the application i develop, a sophisticated login system is required.
Being a newbie in Ruby, i''m not comfortable with the select tag in the
form tag.
My requirement:
2 tables - User(LoginName, Password, RoleId...) and Role(RoleId,
RoleName...)
View - RoleNames to be loaded in the drop down box and On submit, RoleId
to be passed to controller for authentication.
My Code