search for: qrr4m9swfipwk0htik3j

Displaying 11 results from an estimated 11 matches for "qrr4m9swfipwk0htik3j".

2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2005 Nov 02
4
acts_as_metadata?
I''m running into the need (on at least one project now) to implement end-user-customizable "metadata" or properties on model objects. The standard example would be a Person class that had first_name, last_name, etc. but would need to be extended real-time (through the web admin interface) with properties such as phone_number : varchar (30). I''ve done some basic
2005 Apr 01
11
I want to blog!
This isn''t Rails or Ruby related, but I just need some advice and thought I''d ask the bright individuals here. I want to start my own blog but I''m not sure where to begin. I don''t want to get a blogger account because I want to have my own domain. Blogger also doesn''t have many features. My hosting service is 1AND1 so it supports php, cgi and mysql.
2005 Dec 15
7
PHP include() Type Functionality in Ruby/Rails
Greetings, I am working on extending a new part of our site to use Ruby on Rails, and have several portions of the site that is included in external files. The rest of the site is built on top of MovableType and uses PHP Includes to reference the external files. Is there similar functionality in Ruby or Rails that I can use so I don''t have to update excess content in two
2005 Nov 16
37
Postgresql vs MySQL
Is there any reason to avoid using postgresql for small web apps? That is, is it''s overhead so large that the lighter MySQL will work substantially better for small apps on small machines? Or are they very similar in performance and configuration? I''ve used MySQL but postgresql has its appeals and I''m wondering if I need to keep MySQL around at all. On the other
2005 May 17
2
ajax insertion sort
Is there support yet for adding something to a list in sorted order? For example, you have a form to add a new item and you want the new item to be inserted in the list in the proper order. I''ve noticed the :position option in the form_remote_tag but it doesn''t seem like you can use it to keep things in sorted order. Rod Schmidt http://rodschmidt.blogspot.com "Do or
2005 Dec 15
8
slightly OT - Ruby division
Hey all, In my code, it seems that when I divide two integers, the result is an integer. Is there any way to make it such that when I divide two integers, the result is a double? Any help appreciated, Jin _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 29
3
Maintaining DB reflection without scaffolding
Hi, I would like to know if there is a way to maintain database reflection for the ''new'' and ''edit'' views whilst removing scaffolding? I''m trying to create a webapp that will be somewhat maintainable by colleagues (that aren''t necessarily web developers) through simple manipulation of db table fields. For example to add another field to the
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 May 10
8
fastcgi approach?
I''ve just had a problem with fastcgi killing processes off while they were running (I have a long-running background process)... but it took me a while to track it down and pinpoint that fastcgi was asking the process to quit. So i was thinking if it would be a good idea to tweak the way ruby-fastcgi handles this. At the moment, in fcgi.rb (part of the fcgi gem) there is
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All, Just about to set up RoR on our server and was wondering what the ideal setup for RoR is these days? Apache 1? Apache 2? fCgi? Any guidance would be helpful! Thanks, -Adam