search for: 2fdksi0tz45afugrpc6u6w

Displaying 8 results from an estimated 8 matches for "2fdksi0tz45afugrpc6u6w".

2005 Mar 10
11
Default Values
Where in the application would you suggest I set default values that are read for every action and in some cases changed and somecases not. Basically on some pages I am getting the <title> from the DB and if not I want to put a default one up. Any suggestions?
2005 Dec 15
13
Fast Bulk Inserts?
I need to insert ~100k rows into the database, but using "Table.new(...).save" is painfully slow (I notice in the logs that it''s wrapping each insert in a transaction -- that can''t be fast). Any suggestions on how I can improve the speed of bulk inserts like this? Thanks ... -- Steve
2005 Dec 14
3
Plugin w/ Migrations and/or Fixtures?
I''m working on a plugin which needs to add both schema and data to the app database, and I''m trying to figure out the best way to do it. I''d like to use a db migration to modify the schema and load the data from a YAML fixture, but Rails doesn''t seem to support migrations for plugins. To do so, the schema_info table would need to change to include a
2005 Jul 29
0
Fwd: Products and mod_rewrite
It appears this message bounced somehow, so I''m resending. Apologies if it is a dup. Begin forwarded message: > From: Duane Johnson <duane.johnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Date: July 29, 2005 8:59:30 AM MDT > To: Steve Sloan <steve-2FdKsI0tZ45AfugRpC6u6w@public.gmane.org>, rails-1W37MKcQCpIf0INCOvqR/pqQE7yCjDx5@public.gmane.org > Subject: Re: Products and mod_rewrite > > > > On Jul 28, 2005, at 2:25 PM, Steve Sloan wrote: > > >> Well, I finally got around to using the rails_product and site >> generators to rew...
2005 Aug 20
6
How to find() only selected columns ?
Hello, I don''t know anything about Rails optimization, however... is it possible to select only specified columns in order to tell Active Record not to load everything from the table as does @items = Item.find(:all) ? Thank you
2005 Dec 26
0
Problems with Plugin Models
I''m developing a plugin that provides several models (with a Rakefile to generate the schema). However, I''m running into two problems: 1. How can I setup a ''models'' directory? Only ''myplugin/lib'' is in the load path, and if I move my models to ''myplugin/lib/models'' -- even if I explicitly require them all -- it tries to
2005 Aug 08
1
url_for()/link_to() Broken under Webrick?
After successfully getting my "productized" sites into production, I decided it was time to get the development environment working (i.e. through "script/server --site=foo"). However, when I go to run a site under Webrick, I get two major errors: (0) Routes don''t seem to work properly, specifically the root-level route gets ignored. Instead,
2005 Oct 13
0
Re: rubyonrails problem w/ multiple dbs and webrick
[CC''ing rails list, in case anyone else is interested] Jacob Robbins wrote: > hey steve, > I have the exact same problem using multiple db''s and webrick as the one you posted to the ruby list. Can''t find any responses to your email in the archives for that list, did you ever resolve it or just do something else? I''m not sure if it just magically went