similar to: is there any rails hosting out there?

Displaying 20 results from an estimated 1000 matches similar to: "is there any rails hosting out there?"

2005 Mar 09
6
auto increment id
looking at the unit tests of activerecord leads me to think the db is completely responsible for auto-incrementing the id field and rails does no magic here. can someone confirm that this is a true statement? that being the case - what is the preferred way to write database agnostic sql for one''s schema since each of the dbs has slightly different syntax for this functionality... does
2005 Mar 03
12
bug in postgresql ''now'' time handling??
line 212 of postgresql_adapter.rb is return Time.now.to_s if value =~ /^\(''now''::text\)::(date|timestamp)/ i don''t think this will work. in postgresql the field ''now'' is pinned to the SAME TIME for the duration of a transaction. eg. if you do begin transaction; insert into t values(42, ''now''); # sleep one minute
2005 Mar 18
4
NoMemoryError on "gem install rails"
Greetings all-- Humble newbie requesting help here. I''ve just installed Ruby 1.8.2, Rake 0.4.15, and RubyGems 0.8.8. When I try to get Rails into place via "gem install rails," I get the error below. What have I done wrong? Can anybody throw me a rope? Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote
2005 Mar 09
21
Converting time retrieved from MySQL
I''m having a problem converting a date retrieved from my MySQL database and I''m hoping someone can help. MySQL stores the date/time as this: 2005-03-08 17:00:34.0 and according to my Pickaxe book Ruby stores times as "the number of seconds and microseconds since [...] January 1, 1970". All well and good. Unfortunately, RoR is converting my date to this:
2005 Mar 09
4
max requests for fcgi interface
I think my rails app has a slow memory leak that degrades performance over the course of several days. I''d like to get to the bottom of it but in the meantime I''d prefer to just bandage it and force the fcgi library to start a new instance of my app every so often. Is there a clean way to do this? Calling break in the each_cgi loop causes an error. Sending SIGUSR1, which
2005 Mar 09
10
mysql vs postgres
I''ve used mysql for quite some time now. Other than crashing when the partition gets full, I''ve had no problems with it. But I''ve heard great things about postgres and have seen some people say it''s much superior to mysql. So, with a Rails application, is there any reason why I would want to learn/use another DB besides mysql? Any pragmatic benefits?
2005 Mar 10
7
Forking FCGI dispatcher
I hacked a forking FCGI dispatcher for Rails. I have no idea if this is the correct way to do it, but it seems to work fine. It improves memory usage a bit; after it is started the processes share almost 10 MB (of 12 MB total), but unfortunately it drops to 2 MB after a few requests. ===================================== #!/usr/local/bin/ruby require File.dirname(__FILE__) +
2005 Feb 16
1
[OT] mysql and selinux
i''ve been bashing my head against the screen for about two hours... for the life of me i could not figure out why connections to mysql were failing when view through browser but NOT from the command line as user apache... i confirmed that all connection parameters were correct and still no go. eventually i disabled selinux and all is well. there was a configuration section that claimed
2005 Mar 03
0
uniform handling of timestamps
considering that sqlite, mysql, postgresql, etc all handle times differently (well only postgresql really *handles* them) i''m wondering how to best approach time fields in rails. my current thinking is that sqlite is the least common denominator: it stores everything as text and does not checking, mysql has datetime, date, and timestamp but does poor checking (crippled to be precise) to
2005 Mar 12
0
scaffolding issue
i''ve got a little rails app i''m messing with the schema is create table timedatevalidates ( id serial, timedatetovalidate timestamp, primary key (id) ); the mvc was initialized using rails scripts/generate scaffold timedatevalidate i''ve got this in a subdir of webroot and have modified .htaccess and config/routes.rb like so .htaccess :
2005 Mar 10
6
Expiring Cache Fragments and fcgi
First let me say that Rails caching is very very cool. The traffic (and responsiveness) I''ve saved by added 10 lines of ruby code would be enourmous, if I actually had traffic... ;) Sweepers as observers are great, btw. Since every page of my side is dynamic, once I did some DB optimization I''m caching the content of the index page which was taking the bulk of the time to load
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!
2005 Mar 08
2
ActiveRecords on the command line?
Hello- I''d like to write command line scripts that have full access to my Rails app''s data model and database.yml (in other words, I don''t want to lose any of the abstractions and automation that make programming with Rails so pleasant). Can anyone offer a hint of where to start? -Ross
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production environment. The setup is debian(unstable)/apache2/fastcgi/mysql Rails 0.10 (upgrading to 0.10.1 as we speak) When I first start up apache the machine grinds to a crawl starting up the dispatch.cfi processes. It''s a VPS with 256M of ram, but still (in addition to user time) it''s spending 30% of time in system
2005 Mar 01
4
PostgreSQL Schema and Rails
Hey all, I am curious about how Rails interacts with SCHEMAs in PostgreSQL. From the generate command, is it possible to setup a scaffold for a table not in the public. schema in PostgreSQL? As a test, I tried, ./script/generate scaffold Manage.Form Manage.Form No dice. Any suggestions? -Robby -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON
2005 Mar 06
3
Accessing login name from login_generator
I''m new to Rails and am modifying the ToDo tutorial app into something else. I have successfully installed authentication via login_generator and now I working toward restricting access to certain database records based on the login name. I realize that eventually, I''ll want to use the "id" field, but for now, I just want to use the user name itself. I have
2006 May 12
1
zfs panic when unpacking open solaris source
When unpacking the solaris source onto a local disk on a system running build 39 I got the following panic: panic[cpu0]/thread=d2c8ade0: really out of space d2c8a7b4 zfs:zio_write_allocate_gang_members+3e6 (e4385ac0) d2c8a7d0 zfs:zio_dva_allocate+81 (e4385ac0) d2c8a7e8 zfs:zio_next_stage+66 (e4385ac0) d2c8a800 zfs:zio_checksum_generate+5e (e4385ac0) d2c8a81c zfs:zio_next_stage+66 (e4385ac0)
2001 Mar 06
2
RedHat 7.0 on Dell Poweredge 6300
I went to RedHats' page and found hardware requirements and it said that the Dell Poweredge 6300 is a supported hardware. Then I went to linuxcare.com and it does not list the machine. Before I look like a buffoon, or continue to, Redhat will run on this machine, right? I appreciate the help. Thanks, --------------------------------------------------- Tony Ricker Technology Coordinator
2001 Nov 27
1
log in script question
All, I was hoping someone could point me in the right direction in obtaining a solution to the the following; I want to have the log in script map not only their home directory, but also the group folders as well. For instance, I would have a share with valid users=@usergroup and would want the script to map the directory based on this criteria. Would I have to have a log on script for each
2006 Nov 22
2
How to park calls on a specific extension
Currently at our office, if I want someone else to pick up a call, I have to transfer the call to them. So I'm looking into call parking, which is ALMOST perfect. The missing piece of the puzzle: I'm extension 203. I want any call I park to get parked at extension 2203. I want a call my boss parks to park at 2205, since he's ext. 205. In other words, I want calls parked FROM