Displaying 20 results from an estimated 300 matches similar to: "Postgresql + rake errors"
2005 Mar 06
3
permission error in rake''s clone_structure_to_test
Hello,
When I try to run "rake clone_structure_to_test" on my project, I get
the following errors:
$ rake clone_structure_to_test
(in /home/www/cedscreening)
psql:db/development_structure.sql:8: ERROR: permission denied to set
session authorization
psql:db/development_structure.sql:16: ERROR: permission denied for
schema public
psql:db/development_structure.sql:34: NOTICE: CREATE
2005 Oct 28
3
PostgreSQL. Multiply schemas in one database. How to?
Hi all.
I am using PostgreSQL in my current project and I have couple of questions
on this topic.
Previously I have used 3 databases for project. i.e.
megaproject_development, megaproject_test and megaproject_development.
But I don''t like this variant because of ''rake dump_db_structure'' writes a
lot of PostgreSQL specific data for structure file (operators, functions,
2006 Feb 13
8
postgres and rake
am in a bit of a quandry...
I have asked postgresql-users list and haven''t gotten anything to work
with...
> > How do I change the owner of a schema?
> >
> > ALTER SCHEMA "public" OWNER to "some_user"; #?
>
>
http://www.postgresql.org/docs/current/interactive/sql-alterschema.html
>
> The docs explain this very situation. HTML
2006 Mar 05
0
rake clone_schema|structure_to_test fail
When I do ''rake clone_schema_to_test'' I get this:
(in /var/www/rails1)
rake aborted!
./db/schema.rb:34: syntax error, unexpected tCONSTANT, expecting kDO or
''{'' or ''(''
t.column "datetime", :datetime, :default => Sun Mar 05 03:19:39 MST
2006, :null => false
^
2006 Feb 05
2
Continuous Integration question (not CIA question)
On 2/5/06, Joe Van Dyk <joevandyk@gmail.com> wrote:
> On 2/4/06, Jonathan Weiss <jw@innerewut.de> wrote:
> > Joe Van Dyk wrote:
> > > Hi,
> > >
> > > I''d like to set up CIA. So I added the plugin to my app, went to my
> > > subversion server, added the post commit, added a build directory.
> > >
> > > I checked
2006 Feb 28
10
Salted hash login, postgresql, unit tests
Hello,
I have tried to install the salted hash login generator by following the
quick start guide at:
http://wiki.rubyonrails.com/rails/pages/SaltedLoginGeneratorQuickstart.
Everything seems to work fine until I try to run the unit tests by doing
''rake test_units'', then I get the following error message:
<error-message>
[brasse@keso login-test]$ rake test_units
(in
2006 Mar 02
2
Unit tests, salted hash login
Hello,
I am having some trouble running the unit tests for the salted has login
generator. I am a bit new to both ruby and rails so I am having a little
trouble deciphering the error message I get when running ''rake
test_units''. Up till the point where I try to run the unit tests I have
followed the quick start guide for the salted hash login generator
2006 May 04
4
Ajax spinners
Hi all, I''ve been looking for these for quite some time now and I
couldn''t find them with a transparent background and a neutral color,
so here they are, just baked from the oven:
The Mac OS X and Mozilla Spinners (Grayscal and Transparent)
Enjoy
Gael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spinner_mac.gif
Type: image/gif
Size: 2530
2006 Mar 25
1
Re: Rails Digest, Vol 18, Issue 656
Here''s an alternative in-depth treatment on setting upo rails on Debian
(Ubuntu, Kubuntu, ... ), may be interesting to follow through in more detail
for some:
The Perfect Rails/debian/lighttpd Stack... (
http://brainspl.at/pages/perfect_vps )
Victor Kane
http://awebfactory.com.ar
On 3/25/06, rails-request@lists.rubyonrails.org <
rails-request@lists.rubyonrails.org> wrote:
>
2007 Jan 09
0
development_structure.sql?
Hi,
I noticed that db/development_structure.sql file somehow appeared in my
project...
Why is it generated? what is it good for?
I see it has my db schema. but I already have my db schema in another
file I created.
thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Mar 25
7
upgrade to 1.1RC on ubuntu breezy
How do I upgrade my rails to 1.1RC - running Ubuntu breezy and I had
installed rails using apt-get in universe.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
1
PostgreSQL CASCADE not copied to test db
When the unit test harness creates a test database from the
development database, the ON DELETE CASCADE constraints I have on my
foreign keys are not copied into the test database. (I can tell by
looking at db/development_structure.sql.)
That means the fixtures can''t load/unload from the test database
properly. In other words, all my tests fail with the same error
message:
2008 Dec 05
0
test:clone_structure problems with Postgres
(in C:/projects/books/TheatreTickets)
** Invoke db:test:clone_structure (first_time)
** Invoke db:structure:dump (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:structure:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:clone_structure
psql:db/development_structure.sql:15: ERROR: language
2005 Dec 27
4
Migrations & Unit Testing: Possible Bug in Rails?
I recently started using migrations to create the schema of a Rails
project I am working on. The database I am using for this project is
MySQL. The initial migration creates the table and also includes a
number of execute statements (to do some things like setting primary
keys, autoincrement on some columns and other messy voodoo).
Running "rake migrate" creates the database with no
2006 Jan 07
1
Configuration problem on older app upgraded to 1.0
Hello, everyone.
I have an application that began on a much earlier version of rails, and has been upgraded to 1.0. Somewhere along the line, tests got broken. The first thing I noticed, upon looking into the cause, is that my test database was not being cloned correctly from development. So, I tried to run the tasks by hand:
$ rake clone_schema_to_test
(in /Users/jkh/Development/assetstream)
2006 Jul 14
2
db:migrate question
Hi,
In my environment.rb, I have set:
config.active_record.schema_format = :ruby
Whenever I do a rake db:migrate, both db/development_structure.sql and
db/schema.rb get generated. This shouldn''t happen should it? I thought
I should only get db/schema.rb?
Thanks,
Jordan
2006 Feb 04
2
CIA question
Hi,
I''d like to set up CIA. So I added the plugin to my app, went to my
subversion server, added the post commit, added a build directory.
I checked out the code in the build directory on the svn server.
However, running rake on it fails, because the test database is empty
(i.e. no tables, so fixtures don''t load).
What''s the solution here?
2006 Aug 17
11
Can I get RubyOnRails to read and parse an html file off harddrive?
I do this in ASP to read a special html template that I use, then modify in
code before spitting out the resulting webpage.
Any ideas on how to script this in RUBY? Do I need a special GEM package?
D. Bruce Moore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060817/95cf5da6/attachment.html
2006 Jan 27
5
Before I write this myself, is there already an easier way?
Recently I''ve wanted to be able to take the data I''ve painstakingly
defined in my fixture files and slurp it up into my development database
so I can play with my website (locally, in development mode) with the
same data I use in my tests.
In a similar vein, I want to take the table definitions in the
development_structure.sql file and use it to re-define my development
2006 May 15
3
where do I put this test?
I''m trying to use TDD on a Rails app. So far (6 hours into it) things
are going well.
My data model is starting to get a little more complex now. I now
have two related tables and I want to make sure my tests cover input
validation, record creation, and the proper creation of the foreign key.
Do I put this into a test unit for the parent table''s model?
Or do I test this