Displaying 20 results from an estimated 4000 matches similar to: "ActiveRecord provides unnecessary default value (SQL Server)"
2011 Dec 29
0
func_odbc not returning whole smalldatetime MS Sql field.
Hey All,
Odd thing. I am just trying to return the whole date time stamp from a
SMALLDATETIME field in a MS SQL server.
func_odbc.conf = readsql=SELECT DateCreated FROM [REDACTED] WHERE Code
= '${ARG1}'
Problem is I only get the first 15 back from the field. Like so...
Connected to Asterisk 1.8.6.0 currently running on [REDACTED]-dev (pid =
2240)
Verbosity is at least 3
2006 Mar 13
2
Connectivity to Microsoft SQL Server using ADO
Based on this page:
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer
using this specification
development:
adapter: sqlserver
database: database_name
host: server_name
username: user_name
password: your_pw_here
in database.yml for your SQL Server connection doesn''t work. Some
debugging code reveals that only the password comes through into
2006 Jan 19
0
db_schema_dump for SQL Server
We''re using migrations to manage a SQL Server project and have been running
into a number of issues with db_schema_dump/migrations. Can anyone confirm
that these are actual issues with the SQL Server adapter and not issues with
me :)
1) Fields are not properly setup with proper null settings (:null => true /
false). I''m wondering if we need to update the def columns method
2004 Jun 23
2
Which disk is it?
Which disk is it?
/dev/sda6 or /dev/sdb8 or /dev/sdc6?
>From my log:
Jun 10 21:25:39 postamt1 kernel: attempt to access beyond end of device
Jun 10 21:25:39 postamt1 kernel: 08:06: rw=0, want=1680353324, limit=59954548
Jun 10 21:25:39 postamt1 kernel: EXT3-fs error (device sd(8,6)): ext3_readdir: directory #3473659 contains a hole at offset 1852399616
$ mount
/dev/sdb6 on / type auto (rw)
2008 Apr 01
0
activerecord-sqlserver-adapter Gems Not Found HELP!!
Hi there,
I''m running ROR 2.x on Win32
tried to run gem install activerecord-sqlserver-adapter --source
http://gems.rubyonrails.org and get this:
D:\>gem install activerecord-sqlserver-adapter -source http://gems.rubyonrails.org
Bulk updating Gem source index for: http://gems.rubyonrails.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find
2008 Dec 05
2
Asterisk h323 module
Hello!
I have a problem with build astersik-addons-1.4.7 on Solaris 10. When I
tried to do "make" I got such error:
*
chan_ooh323.c: In function `reload_config':
chan_ooh323.c:2053: error: `IPTOS_MINCOST' undeclared (first use in this
function)
chan_ooh323.c:2053: error: (Each undeclared identifier is reported only once
chan_ooh323.c:2053: error: for each function it appears
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all,
Rails 1.0.0
created_on is being set to 2000/01/01 00:00:00
Any ideas on this ?
Thanks!
Schema is
create table user_login_history (
id int identity(1,1) not null,
user_id int not null,
created_on datetime default(getdate()) not null,
created_at datetime default(getdate()) not null,
updated_on datetime default(getdate()) not null,
constraint pk_user_login_history primary key clustered
2020 May 12
0
last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed
Hello,
I get last_login_dict: Failed to write value: dict-server returned
failure: sql dict: commit failed randomly in the logs:
---
???????1 mailserver dovecot: imap(test-email-bb at exemple.com)
<NtiT9H2SFIVcuGID> [xxx.xxx.xxx.xxx]: Error: last_login_dict: Failed to
write value: dict-server returned failure: sql dict: commit failed:
INSERT, UPDATE command denied to user
2006 Oct 11
0
ActiveRecord + SqlServer 2005, looking for feedback
Hi!
I''ve just started using AR on top of SqlServer 2005 (through ADO:
http://www.softiesonrails.com/articles/2006/06/28/activerecord-with-sqlserver-without-rails).
Not a Rails site per se, but I''m using AR and ruby to build data aggregation
tools.
If you have used AR with SqlServer 2005 and met quirks or caveats of some
kind, I''d be happy to get some feedback from your
2015 Jan 14
1
[PULL] uaccess: fix sparse warning on get/put_user for bitwise types
Hello, Arnd,
As you asked, here's a pull request.
This has been in linux-next apparently with no ill effects.
The following changes since commit 99975cc6ada0d5f2675e83abecae05aba5f437d2:
vhost/net: length miscalculation (2015-01-07 12:22:00 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/uaccess_for_upstream
for you to
2015 Jan 14
1
[PULL] uaccess: fix sparse warning on get/put_user for bitwise types
Hello, Arnd,
As you asked, here's a pull request.
This has been in linux-next apparently with no ill effects.
The following changes since commit 99975cc6ada0d5f2675e83abecae05aba5f437d2:
vhost/net: length miscalculation (2015-01-07 12:22:00 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/uaccess_for_upstream
for you to
2011 Apr 07
2
Selecting data from list object
Hello Group,
Is there a simpler way to get data out of a list object? (like in data
frame without using the apply functions)
I have the following dataset
> dput(d)
list(c("20110405", "092102"), c("20110405", "092538"), c("20110405",
"093458"), c("20110405", "101124"), c("20110405", "102041"),
2007 Sep 26
1
Ruby on Rails | MS SQL Server 2005 | Configuration
Request: Full description of mechanims required to intergrate current
Ruby / Ruby on Rails with MS SQL Server 2005
Environment:
* Ruby 1.8.6-25
(ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32])
* Rails 1.2.3
* ruby-dbi 0.1.1 (installed dbi,dbd_ADO)
* OS: Windows XP Professional sp4
* MS SQL Server Express 2005 installed on local machine
Background:
I have used various settings for the
2006 Jun 10
1
How to check a date against today
I''m looking for a function which produces the current date
eg. if account.expiry_date < getdate
''getdate'' doesn''t seem to work.
anyone know what does?
--
Posted via http://www.ruby-forum.com/.
2004 Sep 01
1
NEWBIE: PWLIB Build Failure
Any got experience w/ PWLIB - sorry I know it's somewhat off topic...
I do not have a bison.simple file located on Fedora RC2...
But when make'ing PWLIB I get
../common/getdate.y:106:1: warning: "YYPURE" redefined
../common/getdate.tab.c:43:1: warning: this is the location of the previous
definition
Is it safe to continue or is this a bad build?
2008 Jun 02
4
Cannot find sqlserver adaptor for ActiveRecord
I have been trying to find the adtiverecord adaptor for MS SQL server
and attempted to install with the command found on the
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer
wiki page:
gem install activerecord-sqlserver-adapter --source=http://
gems.rubyonrails.org
I then got the error message:
ERROR: could not find activerecord-sqlserver-adapter locally or in
a
2012 Oct 30
1
pass javascript date variable to rails controller as params
I have an application where jquery fullcalendar is implemented. On day
click I need to pass the selected date as params to rails controller.
When I alert the date inside dayclick function, I am getting the date in
the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I
pass as params in jquery ajax to rails controller, it is passing blank.
How do I get it in rails
2006 Feb 07
1
DB2 and SQL Server Drivers
Greetings,
I was wondering if anyone on this list has any experience using
Ruby/Rails with either DB2 or SQLServer. We''re currently in the later
planning stages of two RoR applications and I''m not 100% sure about the
state of these two drivers. Googling for this information locates
multiple sites that discuss various driver implementations (DBI, etc)
for both databases.
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they
are Microsoft-heads. While I can probably sell them on trying Rails,
they are definitely going to want the database to sit in our SQL Server
instance with our other databases. I can''t get instiki to create the
tables in sql server though (I''ve added ADO.rb, and gotten a
connection). When I run the
2013 Dec 17
1
ActiveRecord and tiny_tds
Hi,
I''m having some issues trying to run .find_by_sql against a Win MSSQL 2008
server. When I use the tiny_tds gem the query works without any issues.
require ''rubygems''
gem ''tiny_tds'', ''= 0.6.2''
require ''tiny_tds''
gem ''activerecord'', ''= 3.2.12''
require