similar to: migrations

Displaying 20 results from an estimated 8000 matches similar to: "migrations"

2005 Nov 25
2
Wx::SystemSettings mark II
hi patches and files for Wx::SystemSettings, with get_font included in swig file and a sample that doesn''t segfault wxruby. CVS patches: RubyConstants.i, type_map.i CVS new: system_settings.rb (sample) SystemSettings.i (SWIG file) The sample should allow you to view the available information about system colours, fonts and metrics (eg cursor size, display size) in a Grid.
2006 Apr 04
2
loading data with migrations
Hello, I''m just taking a look at migrations, seems like a fantastic way to maintain the database. I am wonder if there is a way to maintain what I''ll call "reference data" along with the migrations. A lot of times in apps your have tables that have pretty static data, often used to generate select lists. Is there a way to insert the reference data into these tables
2005 Dec 29
9
Single Table Inheritance
Hi all, Quick question for STI. With the following setup: class Company < AR::Base; end class Firm < Company; end Why does Firm.find(:all) return all Companies, not just those that have type==''Firm''? -- Alex
2005 Nov 23
1
Wx::SystemSettings
Hi all Please find attached files to implement (much of) Wx::SystemSettings for wxruby2. I really just wanted to be able to get screen width and screen height, but there''s lots of other stuff there too; the sample file provides a listing of what''s avaiable, with descriptions. With this email * patch to typemap.i * patch to RubyConstants.i * new SystemSettings.i file for
2006 Nov 13
0
[730] trunk/wxruby2/samples/etc/system_settings.rb: The call to message_box in on_about needed to be prefixed with Wx::
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Oct 21
8
Wrong number of arguments (1 for 0) on routes.rb
Hi, I''m baffled by this error. I need a simple controller to send e-mails, so first I thought about just creating the controller manually (without using script/generate), since that didn''t seem to work, I created a dummy table in my DB and used the usual procedure to generate scaffold code. Then I modified the controller to have only two methods, send and compose: class
2005 Dec 27
1
Debugging Migrations
I''m having a heck of a time trying to debug issues in my migrations. First, is there a good way to do this? Second, is there a way to get any output to test it? _______________________ Brad Eck _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 May 12
26
performance update
I have made additional progress with regard to performance. My latest data: configuration 1: r121.latest configuration 2: r121p.latest page c1 real c2 real c1 r/s c2 r/s c1/c2 /empty/index 6.75525 1.71983 148.0 581.5 3.93 /welcome/index 6.89044 1.89244 145.1 528.4 3.64 /rezept/index 4.99573
2005 Nov 30
1
No matching function for overloaded ''wxWindow_GetTextExtent'' on Linux
Hi guys, I get this error when I try to edit an item in the grid: dewd@marieta:/mnt/workspace/tpl_src/src/wxruby2/samples/etc$ ruby system_settings.rb Our Initialize was called Their Initialize returned 1 system_settings.rb:245:in `get_text_extent'': No matching function for overloaded ''wxWindow_GetTextExtent'' (ArgumentError) from system_settings.rb:245 I have
2006 Apr 25
2
Capistrano :db role
Hello, Can someone explain me why Capistrano deploys rails code to both :web and :db roles, not only to :app role, which is the only role that actually needs this code. In my setup I do not want to give any SSH access to :db servers other than server management, which is done outside Capistrano. So why Capistrano migrate task needs this access while it could to it from :app server, which
2006 Feb 01
2
Trouble with migrate over Switchtower
>From my blog: http://clickablebliss.com/blog/2006/02/01/trouble_with_migrate_over_switchto wer/ > Lately though I?ve run into an issue > trying to run migrations over Switchtower. > So I?ll prepare a migration and commit it to the repository. I?ll then do a > deploy to get the latest version up on the production server. Next, I?ll run > the following to tell the production
2007 Jun 26
0
[1080] trunk/wxruby2/swig: Moved typemaps specific to SystemSetting out of general typemap file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Dec 19
2
Unit/Functional testing for AJAX functions?
I really have no more input than that, so the subject speaks for itself. How do you test that AJAX effects shown in the browser are actually happening? Maybe an auto-complete form field is a good starting example. Sean
2008 Jun 03
5
Problem with migrations in Rails 2.1
Hi, I''m trying to migrate to sqlite3 and I get this error: syntax error, unexpected ''\n'', expecting tCOLON2 or ''['' or ''.'' I''m running OS X 10.5 on an Intel mac. I''ve installed the sqlite gem. I''m not sure what''s going on here. Any ideas? Thanks, Ron
2006 May 22
1
New to rails, looking for some advice re: migrations
I''m trying to get started with Rails, but I''m running into a few places where I''m having trouble understanding the expected workflow. I''m trying to work with migrations from the beginner; its a port of an existing application, but I''d like to let the db schema evolve as the application grows, so I''m starting from an empty (tableless) database.
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it? Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run "rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed error. The version of Switchtower I''m using is 1.0.0 and the deploy task is the default supplied with Switchtowe. However, I dont have any problem when :db is changed to the same as :web and :app. -------------- next part
2006 Jun 13
2
Migration or model first
I sort of asked this the other day but with no replies. I''m new to rails btw. Question: Is there a preferred way to create migrations ? What I''ve noticed is if I create a model first , it sets up the skelton of the migration. If I create a migration file and then do the model it attempt to create a migration file and not overide the one already in place. It seems to make sense
2006 Jan 06
4
Are migrations executed within a transaction?
Hi all, Can I safely assume that each migration is excuted within a transaction, so that''s it''s safe to have migrations executing failing statements? Thanks, - Rowan -- Morality is usually taught by the immoral.
2005 Mar 15
15
Web-based Ruby Syntax Highlighter
Hi all, Last night, I wrote a web-based syntax highlighter that takes Ruby and produces nice HTML of the code, ready for including on web pages, or in blog posts, or whatever. I don''t know how useful it will be for other people, but feel free to use it. Anyway, the URL is : http://syntax.carldr.com/ Any comments/suggestions would be gratefully received. Enjoy!