Displaying 20 results from an estimated 400 matches similar to: "rails and MSSQL transactions"
2006 Jan 19
3
problems with migrations in sql server
Is anyone using migrations with a SQL Server database who might be able to
lend me a hand? I''ve used migrations with MySql in the past and haven''t
run into any issues so forgive When I run rake migrate nothing is actually
getting updated in my database. I created a migration using
./script/generate migration AddFooTable and updated the migration to look as
follows:
class
2005 Nov 24
1
Log question
development.log contains quite a few SELECTS on system tables like
COLUMNS. Wouldn''t it be more efficient to cache this info?
I''m also wondering about strings like "[4;35;1m". What''s their purpose
and is it possible to get rid of them? They look like screen coordinates
and makes no sense in a text file.
Christer
Processing ReportController#create (for
2008 Mar 14
15
Is anyone running Rails 2.x against a MS SQL Server DB?
I am unable to get ActiveRecord session support to work under 2.x
against a SQL Server database. I''m starting to wonder if anyone is
running 2.x against SQL Server?
Is anyone running under the following configuration:
Rails 2.x
SQL Server 2000 DB (using AR adapter in ODBC mode)
AR store for ActionController session store.
I''d like to chat with you if you are.
Thanks,
Wes
--
2006 Nov 04
0
Weak DBI support for MSSQL (was rails and MSSQL transactions)
There is something seriously wrong with DBI support for SQL server. I
have tried both DBI::ODBC and DBI:ADO and the following code always
fails.
---------- Code
require ''dbi''
host= "DEVELOPMENT_DATABASE_SERVER"
database="adventureworks2000"
username="someusername"
password="Somepwd"
db = DBI.connect("DBI:ADO:Provider=SQLOLEDB;Data
2003 Nov 26
3
Backup with rsync until one month
Hello,
I use rsync in the company to make a backup every 4 hours.
but I would like to do in a way like this, that the rsync make a backup of the changed files until one month long.
EX:- file.bak.001 file.bak.002 .....
This file will be to get always, and so i can get the all files untill an one month old version of the file.
Is it possible?
Regardes
Dipl.-Ing. Nazar Hassan
2017 Jun 06
1
[Announce] Samba 4.6.5 Available for Download
======================================================
"Stay positive and happy.
Work hard and don't give up
hope. Be open to criticism
and keep learning. Surround
yourself with happy, warm and
genuine people."
Tena Desae
======================================================
Release Announcements
---------------------
This is the latest stable release
2017 Jun 06
1
[Announce] Samba 4.6.5 Available for Download
======================================================
"Stay positive and happy.
Work hard and don't give up
hope. Be open to criticism
and keep learning. Surround
yourself with happy, warm and
genuine people."
Tena Desae
======================================================
Release Announcements
---------------------
This is the latest stable release
2013 Jun 08
2
Compile error with gfortran-4.6
Dears,
I am writing a code in Fortran using OpenMP directives.
When compiling the code in gfortran 4.4 does not occur any problem.
When compiling the code in gfortran 4.6, an error message appears.
In other compilers the error does not occur.
A small example.
## Code in Fortran
subroutine hello()
implicit none
integer :: nthreads, tid
integer ::
2010 Nov 24
1
NameError in Devise/sessionsController#new
I created a sample application.
Added devise in it, it works fine.
Then added cancan gem into it.
Created an ability class. define some permissions.
Then added line
load_and_authorize_resource
to the Application Controller, after that when i go to the page
http://0.0.0.0:3000/users/sign_in it gave the following error,
NameError in Devise/sessionsController#new
uninitialized constant Session
2000 Feb 18
1
ssh Error
ssh -l user host
ssh_exchange_identification: read: Address already in use
this is what I get when I try to login.
what is it, what does it mean?
Thanx
2010 Jul 03
1
Support older Cyberpower models
Recently upgraded NUT and noticed some of the older Cyberpower models
weren't as well supported as before. Here's a small patch to mark those
models as needing OP conversion and map the model names.
Doug
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nut-fix-older-cyberpower.diff
URL:
2006 Jun 14
0
Mssql Multiple Database Access Error
Hi All,
I am having a problem to access multiple databases with mssql
I am running Ruby 1.8.4 and Rails 1.1 on Windows 2000 Advanced Server.
I am simply trying to integrate the application I wrote before for
Oracle to Mssql. The application works perfectly with Oracle with the
installed driver OCI8. The app retrives data based on a search criteria
from those databases.
I followed the directions
2006 Apr 18
0
activerecord and mssql server
I''m trying to use activerecord outside of rails with a
legacy mssql database. Reading from the db works, but
when I try to save a new object (i.e. insert) I get
the following error.
DatabaseError: Execute
(ActiveRecord::StatementInvalid)
OLE error code:80004005 in Microsoft OLE DB
Provider for SQL Server
Cannot create new connection because in manual
or distributed transaction
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 Jul 30
0
Rails/MSSQL error
Hi,
I have been encountering this error when I try to save text with
japanese characters:
DBI::DatabaseError: Execute
OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server
Line 1: Incorrect syntax near ''20070730''.
HRESULT error code:0x80020009
Exception occurred.: INSERT INTO categories ([category_name],
[updated_at], [created_by],
2011 Jan 02
7
Rails, .swf, .flv
I have the following HAML code
ul{ ''id'' => tutorials_ul }
%li
%a{''href'' => ''/videos/create-command-001.swf''}
''Edition swf''
%li
%a{''href'' => ''/videos/create-command-001.flv''}
''Edition flv''
When the user clicks on
2006 Aug 14
0
Re: Rails on Linux to mssql
> I was just reading your post though a google search and was wondering how
> this has been working for you since then. I need to setup the same exact
> sort of thing and hoped to get any advice.
I haven''t used MS SQL in Rails for awhile (lately, my backend data stores have
been SOAP, MySQL, or LDAP). I''m planning to try JDBC through JRuby for an
upcoming project
2006 Jan 15
0
ROR and MSSQL server.
Hello all.
I have just gotten the Agile development with ROR book and am
evaluating whether ROR would be suitable for our needs. After reading
some of the book I am thinking that ROR might not be able to handle
the GUID datatype as primary keys in SQL server. Specifically primary
keys in SQL server are created after the record is created and might
not be available to the activerecord unless the
2006 Dec 19
1
MSSQL + ODBC + BDE + WINE colaboration
Dear Master
I am new comer in this mailing list. Can you tell me how to connect BDE and
ODBC for MSSQL connection using wine. I have already install BDE from Delphi
5 and DBCrab from Winetools. ODBC is OK to connect MS SQL database. But when
I joint with BDE using ODBC to connect database there is some error like :
[Microsoft][ODBC SQL Server Driver][DBNETLIB] SQL Server does not exist or
2013 Jun 14
1
Executing Stored Procedure using ODBC MSSQL
Hello,
I'm trying to execute a stored procedure on a MSSQL Server from the dial plan, but it's not working. I'm getting the following error: Unable to execute query....
Asterisk has been compiled with UnixODBC, and I've done the necessary configurations in func_odbc, res_odbc and odbc.ini.
Has anyone done this before with success?
-------------- next part --------------
An HTML