Displaying 20 results from an estimated 1000 matches similar to: "Migrations on SQLServer ??"
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
2005 Dec 19
5
using a local MS SQL Server
I would appreciate any tips/clues/advice very much.
I have started using ruby on rails and when the MS SQL Server database is on
a different box than my dev box (where the RoR app is located) I can connect
fine. However when I try to connect to a MS SQL Server database on the same
box as my RoR app I get an error. I have tried to use the IP address of the
dev box as the value of
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel
I have SwitchTower-ized my app, copied the shovel deploy.rb file and put
my settings in it.
But when I run "rake remote_exec ACTION=setup_lighty" from the local app
root it has no effect. It should prompt for a password for at least
throw an error? I just get returned to the DOS prompt.
If I do "rake
2005 Dec 14
2
console and webrick problems
Hi,
I''m having errors when running webrick or the console. webrik starts,
but give me an error when I try to load my controller. It give the same
error as the console:
#ruby script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in
`exec'': No such file or directory - irb -r irb/completion -r
2005 Dec 16
1
rails commands
HI all
How do i know whether i am using Gemrails or Edgerails?
if gemrails , detailhow to know versions of gems?
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Rails mailing list
2005 Dec 14
0
Fwd: Logger bug in 0.14.3 ?
Hello All,
I am top-posting this in hopes of increasing the visibility.
This ticket has not been touched : Default Logger instance has no formatting
<http://dev.rubyonrails.org/ticket/3144>
For my installation, this is a BIG problem in my production logging !!
For now the workaround below is working, and the double-declaration warnings
of loading ''logger.rb'' twice are
2005 Dec 16
6
managing belongs_to fields in a form
Hi all,
I cannot find a clean way to create/edit an object that ''belongs_to''
another one, just by using form fields.
I always need to explicitely unassemble it, store the master id in a
hidden field, and then refetch the master from its id, and put it back
in the object.
To summarize:
I want to create a new member, for a given project
@project= ...
@member =
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
2005 Dec 20
9
Rails Configuration Question
Hello Everyone,
I have been reading this mailing list for a while and am impressed with the
generous help that many here are eager to provide. Perhaps someone will be
able to shed some light on a configuration issue I am having. Thank you in
advance for any assistance.
First, system setup details:
#System Setup#
* OS: Fedora Core 4 running in a VMWare box on Windows XP
* Database: MS SQL
2006 Jan 05
3
MS SQL server connection problems
I am trying to connect to a remote sql server and I am getting the
following error:
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:57:in `connect'': Open
(DBI::Databa
seError)
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
or access
denied.
HRESULT error code:0x80020009
Exception
2006 Jan 30
5
Problems migrating from Postgres to MySQL
Hello everyone,
I''m trying to migrate a working app from Postgres to MySQL, and I''m
trying to use a migration to get it done rather than alter all my
database table creation scripts to MySQL syntax. I''ve done loads of
work with Postgres, but am a real newbie with MySQL...
I did a ''rake db_schema_dump'' from my Postgres app, and got a nice
looking
2005 Dec 22
2
help me understand migrations movie
I''m somewhat of a newbie - played with recent versions of rails a few
mths ago, but have decided to start from scratch with 1.0.
I want to build my new db as much as possible with migrations, so I
watched DHH''s migrations movie from rubyonrails.org.
A few things confuse me:
1. He generates the model ("post") before running rake db_schema_dump.
Is that necessary or
2006 Feb 10
4
hiding header/footer on html print?
Hello all,
I am using what might be a "poor mans" reporting... html -> print.
Who knows a way to hide the browser-included header and footer of the print?
thanks.
--
------------------------------
Forget the icing. Bake the Cake!
- the epi-centered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was
2006 Jan 16
3
37s style modularization ?
Hello all,
I remember and have lost a link to the blog on hints about 37s
modularization of basecamp, backpack, etc.
Anyone remeber this and can remind me of the link?
Thanks !
--
------------------------------
Forget the icing. Bake the cake!
- the epicentered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was
2005 Dec 14
3
Migrations bug with Rails 1.0, PostgreSQL 8.1?
Filed a ticket for bogus Ruby produced via:
rake db_schema_dump
http://dev.rubyonrails.org/ticket/3232
I''d appreciate it if someone could verify against
PostgreSQL 8.0.x
--
-- Tom Mornini
2007 Mar 21
2
ORA-03106: fatal two-task communication protocol error
Has anyone encountered this error or know how to correct it?
I couldn''t find any Rails-specific info about this on google.
Here are the circumstances:
/usr/local/bin/ruby --version
ruby 1.8.4 (2005-12-24) [i686-linux]
/usr/local/bin/rails --version
Rails 1.1.6
## Create mcd app
rails mcd -d oracle
cd mcd
## Create oracle tablespace & user
sqlplus ''/ as
2005 Oct 31
2
Cascading Comboboxen and GO button ?
Hello all,
I have two comboboxen, comboA is popultaed when :controller/list is
retrieved first time.
When comboA is selected, I want to auto-populate comboB (modelB belongs_to
modelA).
The population of tableC (modelC belongs_to modelB and belongs_to modelA)
should not populate until a "GO" button is clicked (link_to with submit).
Help? I need an example of how to filter the post
2008 Jul 01
14
rake aborted! Could not find table ...
I am getting a rake aborted error and I suspect that I am missing a
package on my system since the app works for a friend on this
computer.
Here is the terminal output of the error:
anita@anitas-computer:~/sandbox/shovell$ rake db:migrate
(in /home/anita/sandbox/shovell)
rake aborted!
Could not find table ''stories''
(See full trace by running task with --trace)
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi
when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get
fastcgi working anyhow).
thanks
csn
__________________________________
Yahoo! Mail - PC Magazine Editors'' Choice 2005
http://mail.yahoo.com
2006 Mar 20
6
Rails and Offline processing
How are you guys handling threads or server processes that have to,
for example, process the data in your application on a periodic basis?
Cron jobs can do it and then run on the database. But, are there ways
to launch threads within the rails application itself.
I have heard of WebBrick ways, but I am working with lighttpd,
fastcgi? (textdrive if you are really interested).