search for: clinkscales

Displaying 15 results from an estimated 15 matches for "clinkscales".

2006 Jan 14
11
accessing models from migrations
Ok, so now Users need to be associated with Organizations. I''ve created a migration and added a ''organization_id'' column to the users table. I want the default organization_id to be the first Organization. So I have :default => Organization.find(:first). But it''s complaining about not being able to find the constant ''Organization''. Any
2006 Feb 20
3
rails temporary table?
hi all any one know how to create a temporary table and fill it, like: #------------------------------------------------------------ create temporary table test1 select * from test; #------------------------------------------------------------ regards. -- Posted via http://www.ruby-forum.com/.
2006 Jan 09
5
Paypal IPN - unable to access breakpoint during POST?
Hi all, I''m trying to debug some code in my paypal instant payment notification action. Why can I not access the breakpoint placed inside the action that paypal POSTs to? It just doesn''t find the server, but it works fine when placed inside other actions. I''ve appended the code to the end of this post. Thanks everyone! Tom -- def paypal_ipn notify =
2006 Jan 17
6
database.yml and remote mysql database
I can''t seem to connect to a remote database. Here is what I''ve tried. the database,username,password, and host have been changed to protect the innocent. development: adapter: mysql database: database username: username password: password host: host port: 3306 Here is the error /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 11, col 2: `
2006 Mar 01
5
rails models, logging and testing
Hello, I am using rails 1.0 and I have following questions. Please help me. [1] How can I do logging in the rails models? I checked the wiki but didn''t find anything which I explained how to do logging in models. [2] Say I have a certain model, when I declare a function in the model, and try to use that function from a view or a unit test, I get an error. For views the error occurs
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development Book. In the test application, the authors tell me to test my database connection by performing "rake db:migrate". When I do, I get the error "Don''t know how to build task ''db:migrate''" I''ve been looking around at the files, and I see a reference to a
2006 Jan 19
4
multiple database in the same actions?
Hi, I read the example in http://wiki.rubyonrails.com/rails/pages/HowtoUseMultipleDatabases, it show us how to connect to other database, each time we start a new action, however, this doesn''t work while you try to connect to two different database within the same action. SO I wonder is it possible to bind to two or more database within the same action???? Thanks you very much Saiho
2006 Jan 12
3
what about Austin railers?
If Tuscon has some rail users, I know there must be some other Austin railers out there. Have I missed some meetings that I didn''t know about? Steve http://www.smarkets.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/c2723541/attachment.html
2006 Jan 01
11
Migration db_schema_import always fails.
I have not been able to get DB migrations to work at all in Rails 1.0 for me. On multiple platforms I continually get the same errors. It took me awhile to figure out some initial things, such as Migrations don''t seem to support Enum column types, and doesn''t really support Foreign key relationships (the constraints at least). After changing my DB schema to jive more with the
2006 Jul 17
5
quantic phenomena in migrations
I have an application with 15 migrations under version control. In a Mac and and in a Windows, a rake migrate from scratch runs them all just fine. But in a different Windows machine rake migrate stops after migration 3 for no apparent reason. --trace seems normal. No error is reported. Both Windows are XP SP2. They all have the same svn revision and Rails-related software, database is
2004 Nov 19
0
[AustinJUG] Problem calling rsync from java on OSX
...ead fully wrapped around the real differences between the various Process constructors, unless for some reason the space character isn't an appropriate. tokenizer/separator. other than that, Process(String) and Process(String[]) seem redundant. thanks for the feedback. <drew> Damon Clinkscales wrote: >just wondering if you had tried it like this... > >try { > // Execute a command with an argument that contains a space > String[] commands = new String[] { > "/Users/dlippolt/.azerup/rsync", > "--daemon", >...
2006 Mar 01
5
single transaction migrations
Hi! It seems that migration doesn''t use single transcation to execute the needed migrations for the database upgrade, so if I have database at version 5, and I wrote some migrations 6..10, and error occurs while executing migration 7, the database stays in state 6? I also think that migration taks could use some more verbosity, for example if migration fails, there''s no
2006 Aug 05
5
rake migrate error: nil.first
My migrations were working fine until today. I dropped and re-created the database.But, when I go to apply my migrations, rake migrate aborts with this error. You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.first Any idea what might be wrong? The migrations look right. It''s talking to the
2006 Mar 02
6
Newb question about facade columns
Hello, I am trying to deal with a database table that contains a date in the form of the number of seconds since epoch. Data is inserted in this format by an existing script that I can''t change, so a schema change isn''t realistic. I would like to allow humans to view and edit this data in the form of an actual human-readable date. I figured a facade column would be the
2006 Jan 27
17
Is it just me, or is Ruby exploding?
I am being barraged with Ruby, Rails and Rich Internet application work right now. Almost enough that I could quit the day job and make a go of it, forgetting about Java altogether. Places in the greater Miami area are turning on to Rails and Ruby -- much of it fueled by the stronger voices in the local Java community. Am I alone in this, or do many of you see absolutely explosive growth in Ruby,