Displaying 20 results from an estimated 2000 matches similar to: "Numericality validation strips chars from original entry"
2006 Dec 11
2
Custom Validator
I want to add a custom validator in one of Model. For example Rails has
inbuilt validation methods like validates_uniqueness_of,
validates_presence_of . What I need is a similar kind of method
(example: validates_line_items), that can run my custom code while
saving, updating the record and can add custom error messages to the
record. Please help me by suggesting how i can do this.
--
Posted via
2007 Jan 23
7
Ajax
Hi, I need some help. I`m developing a data base administrator using
ruby and ajax, both for the first time and I have a problem:
I have a form where you can add or delete some information about a
person., information related with their studies. There is no problem
when I add, but when I delete, it deletes from the database but when I
try to save it throughs me an error because it tries to find
2008 Dec 20
5
Calendar icon for date selection functionality
Hello.
I would like to add date selection functionality using a calendar
icon. Is there a tutorial anywhere I could use?
Thanks in advance.
Pepe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Oct 08
3
very frequent disconnections
I've installed dovecot 1:1.1.11-0ubuntu4.1 on my jaunty system.
Access from the same host works well, but when I access remotely
(from various MUAs and networks) I get *very* frequent disconnects.
Authentication is fine, and I can usually open a mail folder,
but larger operations such as copying 20 messages into an imap
folder always get disconnected.
I can reconnect, but I often get
2011 Nov 20
4
Deleting AstDB family at start
Is it possible to delete the keys belonging to a family in AstDB at Asterisk startup? I would like to repopulate it from another source each time Asterisk is restarted.
I know there is a DBdeltree(<family>) function. Is there a context that only runs once (automatically) at Asterisk startup (so that I can call this function)?
Also is AstDB lookup faster than a func_odbc lookup? Is there a
2009 Apr 26
4
Weird auto-complete production problem in Rails 2.3.2
Hello.
ruby 1.8.6 (patchlevel 111)
rails 2.3.2
Windows XP Professional
I am getting quite a weird problem. I have several auto-complete
fields in a page. When I run the code in development mode everything
works but when the application runs in production mode one and only
one of the fields does not auto-complete anymore.
The database being used is the same in both cases (I''m just
2012 Apr 17
4
top not restoring terminal echo/icanon correctly
(Please keep me CC'd as I'm not subscribed to the list)
I'd like to request that folks running RELENG_8 (and RELENG_9, though I
do not use it) please check the behaviour of their terminal after each
of following commands are run (check terminal after each command):
top -a (press "q" after 1 screen refresh)
top -b
If you find that your input characters in your shell
2019 May 14
2
git llvm push errors
I am trying to use git llvm push and am getting some odd errors that seem
somewhat common after looking at other email chains but I'm not sure if a
solution has been found.
The errors are No such file or directory when clearly the file exists. And
also a "new blank line at EOF.\n+' but I've checked both files and there is
no blank line at EOF.
- Ryan
-------------- next part
2019 May 14
2
git llvm push errors
Thanks Paul but I saw that on a previous email chain and tried it, it did
not work for me. I also saw there are issues with svn tags on some files?
Thanks,
Ryan
On Tue, May 14, 2019, 1:30 PM <paul.robinson at sony.com> wrote:
> It has been a while since I've seen "No such file or directory" although I
> do still occasionally see "Patch doesn't apply"
2005 Nov 08
2
IE not repopulating forms under Rails views - very odd
It is common practice to implement semi-persistent state across page
views using hidden form fields since all major browsers repopulate the
form fields with the last value of each field (provided that the
browser hasn''t been closed). A longer explanation with samples is
here:
http://codinginparadise.org/weblog/2005/08/ajax-tutorial-saving-session-across.html
There''s a very
2010 Aug 12
4
[Rails 3] How to test routes urls in console
I tried require ''url_writer''
but this is not the trick
what should be required/included to test the routes urls ?
thanks
erwin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2013 May 12
2
Reinstalling boot blocks on a ZFS-only system
So, I've long known and it makes sense that when you're booted from a ZFS volume, you can't mess with the boot-loader. And, I know a few months ago I had a set of commands I would use when booted from a CD that would initialize the network and copy the "release/boot" from somewhere else so that I could install bootblocks and boot-loaders from more recent code. Sadly, I
2019 May 14
2
git llvm push errors
This looks like you're using the wrong repository. The 'git llvm' command
only works with the new repository layout. Please clone
https://github.com/llvm/llvm-project/ instead.
*From: *Ryan Taylor via llvm-dev <llvm-dev at lists.llvm.org>
*Date: *Tue, May 14, 2019 at 2:18 PM
*To: * <paul.robinson at sony.com>
*Cc: *llvm-dev
It's both "No such file or
2008 Feb 01
1
dueling (s)printf()'s - what's the cure?
Hello All,
I mentioned a problem with this once before, and was referred to
other threads that also talked about this. But I believe a recent
problem I was experiencing, may have been related to this:
[: -le: argument expected. So I'd like to bring it up again, in
hopes that someone might have a cure. Specifically, two printf()'s
are sent to the same line, which results in a /very/ hard
2013 Jun 10
1
ACPI Warning, then hang
I'm getting the following warning, and then the system locks:
ACPI Warning: Incorrect checksum in table [(bunch of spaces)] - 0x29,
should be 0x48
Here's a pic: http://db.tt/O6dxONzI
System is on a SuperMicro C7X58 motherboard that I just upgraded to
BIOS 2.0a, which I would like to stay on if possible. I tried
adjusting all the ACPI related BIOS settings without success.
Bryce
2013 Feb 21
1
IPMI serial console
Hi all,
A recent thread inspired me to try getting a proper serial console working on a Supermicro X9SCL motherboard with IPMI.
However I find that while I see loader messages and the getty I enabled after boot I don't get any kernel messages which does somewhat limit the utility..
The BMC creates COM3 (/dev/cuau2) which works with getty. I modified /boot/loader.conf like so..
2010 Mar 18
8
hash in controller is nil after submitting form
I''m trying to create a data entry form but getting an error when it
sumbmits. I am using an hash to get the names of the fields definied
in the controller''s "new" function:
def new
@thing = thing.new
@columns = Hash.new
@columns[''thing_general''] = [
["title","name"],
2009 May 26
6
dump and import MySQL table w/ accents
I am switching to a composite primary key (string and user ID) from the Rails
conventional auto-incrementing integer primary ID. The table is large (2.5
million records) and I''d rather not discard the contents. The
composite_primary_key gem doesn''t appear to support altering the table with a
migration to do its magic, only creating a table from scratch. So I dumped
the table
2012 Oct 24
2
every 2nd echo-request malformed when ping -s >4067
Hello,
while checking new mtu9k-setup, I discovered that ping has some odd
behaviour.
If I use payloadsize > 4067, every 2nd icmp-echo-request seems to be
malformed:
ping -s 4068 -D 10.5.49.65
1st: 12:21:09.048447 IP 10.5.49.126 > 10.5.49.65: ICMP echo request, id
46597, seq 0, length 4076
0x0000: 4500 1000 0f2d 4000 4001 a507 0a05 317e
2nd: 12:21:10.052891 IP 10.5.49.126 >
2006 Mar 25
2
Copying SIP Subscriptions
I'm pretty sure I already know the answer to this, but...
Is there a way to copy/transfer/replicate sip subscriptions from one asterisk system to another, for the purposes of HA? You coudln't even write a script to do it I don't think. You can do an 'asterisk -rx sip show subscriptions' but there'd be no way to repopulate it on a second system. Yes/No?
Doug.