[Rails] Re: RoR performance analyis

2009-08-17 Thread Roderick van Domburg
not sure what you'd like to analyze and why that's specific to load balancing clusters. -- Roderick van Domburg http://en.railscluster.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails] Re: RoR performance analyis

2009-08-17 Thread Roderick van Domburg
balancing. I suppose the contestants are Apache, nginx, Squid, Varnish, Pen, Pound, LVS, and probably others. You should be able to find pairwise comparisons on Google. -- Roderick van Domburg http://en.railscluster.nl -- Posted via http://www.ruby-forum.com

[Rails] Re: Best place to host ROR website

2009-08-06 Thread Roderick van Domburg
for over three years. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

[Rails] Re: aptana RadRails

2009-07-22 Thread Roderick van Domburg
. =) I've given up on it a long time ago because of its bloat and I didn't get later versions to run on Ubuntu. First switched to NetBeans and now switched to RubyMine, which I certainly recommend. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: aptana RadRails

2009-07-22 Thread Roderick van Domburg
i am also using the same ide for past three weeks I need to know how to do testing unit, functional i don't know how to pass values to database through testing any idea how to do Best is to buy a book. See: http://rubyonrails.org/documentation -- Roderick van Domburg http

[Rails] Re: A lot of postgresql database users authenticating and co

2009-07-08 Thread Roderick van Domburg
the same thing with scopes in Rails. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] Re: Storing Images in Database or File System?

2009-07-08 Thread Roderick van Domburg
the database. What's best for you depends on your specific situation. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby

[Rails] Re: Modular website with XML-based backend in Rails?

2009-07-07 Thread Roderick van Domburg
kinds of web services. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

[Rails] Re: RoR alternative to mod_deflate

2009-07-07 Thread Roderick van Domburg
into Ruby's Zlib to gzip your sitemap as sitemap.xml.gz. That's supported by the Sitemap standard. -- Roderick van Domburg http://www.railscluster.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Re: rails hyperthreading on Quad core

2009-07-02 Thread Roderick van Domburg
-based. Apache can run multi-threaded too. I don't have any production experience with that. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Re: Choosing RoR or CMS for a customer which wants to customize

2009-06-26 Thread Roderick van Domburg
+1 for Radiant CMS. It's super easy to extend and there's a lot of existing extensions too. WYSIWYG / WYSIWYM is one of them. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received

[Rails] Re: [ANN] SQL Server Adapter 2000/2005/2008

2009-06-07 Thread Roderick van Domburg
hard work! -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] Re: Advice for quick fire DB replication with Rails

2009-06-07 Thread Roderick van Domburg
this entire setup managed and ready to go for you. -- Roderick van Domburg http://www.railscluster.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

[Rails] Re: Advice for quick fire DB replication with Rails

2009-06-07 Thread Roderick van Domburg
one node use even numbers for autoincrements, the other one odd numbers. 2. Set up Heartbeat to float a single IP address between the two nodes. 3. Have the Rails application connect to the floating IP address. -- Roderick van Domburg http://en.railscluster.nl -- Posted via http://www.ruby

[Rails] Re: Rails application without database

2009-05-28 Thread Roderick van Domburg
. With this requirement can I somehow package the entire application as a single exe on windows so that users can install with ease? I haven't tried yet, but you should be able to. You might try http://www.erikveen.dds.nl/rubyscript2exe/ or apps such as Joyent Slingshot or Google Gears. -- Roderick van

[Rails] Re: Rails: concurrency question

2009-05-27 Thread Roderick van Domburg
Your line of reasoning is correct. The only caveat I can see is that you'd use Passenger in smart spawning mode, and create the singleton in the environment. In this case it'll be forked and have concurrency issues. -- Roderick van Domburg http://www.nedforce.com -- Posted via http

[Rails] Re: slow tests on large rails app

2009-05-27 Thread Roderick van Domburg
Enterprise Edition or JRuby for faster execution - Looked into autotest - Buy better hardware - Tune the database -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] Re: cookies are mandatory for Rails app?

2009-05-26 Thread Roderick van Domburg
theoretically: no, Rails apps don't require cookies. But what are the practical reasons to be concerned about them? -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] Re: Preloading database tables

2009-05-24 Thread Roderick van Domburg
. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails

[Rails] Re: what is kENSURE and kEND in error message?

2009-05-24 Thread Roderick van Domburg
SpringFlowers AutumnMoon wrote: how about the kENSURE ? and... why the k attached in front? thanks. K is for keyword; the keyword ensure. It seems like you have a ensure..end block without the appropriate begin. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby

[Rails] Re: do you think we should make %= # comment % not cause e

2009-05-24 Thread Roderick van Domburg
Report it at http://rails.uservoice.com, I'd +1 it! -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: enforce an application constraint

2009-05-23 Thread Roderick van Domburg
), keep a counter cache on the registration_count and use the default isolation level. -- Roderick van Domburg -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails

[Rails] Re: How well does Rails handle brownfield data in a greenfie

2009-05-23 Thread Roderick van Domburg
in other columns. The cost is small and you are not potentially breaking future Rails stuff. +1. Mapping legacy IDs onto default Rails IDs will bite. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: enforce an application constraint

2009-05-23 Thread Roderick van Domburg
and update the counter cache. Any concurrent registrations will be rolled back by the database -- don't forget to catch that exception and deal with it. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: ROR on top of a non-SQL database

2009-05-22 Thread Roderick van Domburg
Marnen Laibow-Koser wrote: I don't know offhand how to do this but it should be possible: there are people using Rails with CouchDB, and with Amazon's SimpleDB (the SimpleRecord library). Yes you can, just not with ActiveRecord without creating your own intermediate layer. -- Roderick van

[Rails] Re: Changing the ActiveRecord mapping of boolean values in t

2009-04-26 Thread Roderick van Domburg
. -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk

[Rails] Re: Capistrano on Windows

2009-04-23 Thread Roderick van Domburg
such as Deploying Rails Application and the many blog postings that float on the net. Of course if you have any specific questions then the Rails Deployment mailing list may be helpful. -- Roderick van Domburg http://www.railscluster.nl -- Posted via http://www.ruby-forum.com

[Rails] Re: Capistrano on Windows

2009-04-23 Thread Roderick van Domburg
Roderick van Domburg wrote: Shripad wrote: I am new to Capistrano, Can anyone told me how to use that on windows. Please provide me any good available resource. Please help me out. It works on Windows out of the box. The box being gem install capistrano :-) -- Roderick van Domburg http

[Rails] Re: How to test :dependent = :destroy

2009-04-16 Thread Roderick van Domburg
this functionality in a unit test? Shortly: assert_difference 'Comment.count' do blog(:with_comments).destroy end -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] Re: Rails on westhost.com

2009-04-10 Thread Roderick van Domburg
should ask your host to install the OpenSSL bindings or to recompile Ruby with the OpenSSL development libraries installed. -- Roderick van Domburg http://www.railscluster.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message

[Rails] Re: New project in Merb or Rails?

2009-04-10 Thread Roderick van Domburg
the existing userbases, my guesstimate would be Rails. -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: Support Ruby(Rails) Growth

2009-04-07 Thread Roderick van Domburg
as rails out of the box that would be even better. +1 on that one too. :-) -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails] Re: Support Ruby(Rails) Growth

2009-04-07 Thread Roderick van Domburg
van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk

[Rails] Re: Rails or separate packages, RedHat

2009-04-06 Thread Roderick van Domburg
packages without a huge fight. Other packages, I have to compile and install in my own user space (/home). RHEL doesn't carry a lot of gems, and certainly not recent versions. Installing them yourself is the way to go. -- Roderick van Domburg http://www.railscluster.nl -- Posted via http

[Rails] Re: Rails 2.3.2 MySQL and/or PostgreSQL

2009-04-02 Thread Roderick van Domburg
you enabled TCP/IP connections on your MySQL Server? Rails won't use named pipes or domain sockets on Windows. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] Re: Announcing a new Ruby journal

2009-04-02 Thread Roderick van Domburg
will be the readers? What is the intended audience, level and reach? Thanks! -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby

[Rails] Re: Content Management the Rails way

2009-03-28 Thread Roderick van Domburg
is super-easy to extend with plugins. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] Re: Version fu problem

2009-03-26 Thread Roderick van Domburg
db:schema:load instead of db:migrate. Otherwise, you'll have to come up with ugly tricks. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails] Re: YAHosting inquiry (yet another hosting inquiry)

2009-03-25 Thread Roderick van Domburg
We've got a EUR 19/month plan that supports everything you require and saves you the cost of setting everything up yourself. Plus, it is load balanced over two physical servers for high availability. There's a 30 day free trial to boot. -- Roderick van Domburg http://en.railscluster.nl

[Rails] Re: DEV Laptop : Ubuntu or Centos , Netbeans or Eclipse ?

2009-03-17 Thread Roderick van Domburg
José Netto wrote: RHEL is built upon Fedora, and CentOS is built upon RHEL public SRPMS. To be more precise, Federa is something of a playground for RHEL. Some items may be included in RHEL, other items may not be depending on how the experiment turned out. -- Roderick van Domburg http

[Rails] Re: DEV Laptop : Ubuntu or Centos , Netbeans or Eclipse ?

2009-03-16 Thread Roderick van Domburg
a really slow CSS editor, and has poor syntax parsing. But when I recently tried Aptana Studio it wouldn't even launch on a fresh install, and the latest release of RadRails isn't compatible with Eclipse 3.4. That pretty much sways the decision in favor of NetBeans. -- Roderick van Domburg http

[Rails] Re: scaling full text indexing(ferret vs solr vs hyperstraie

2009-03-08 Thread Roderick van Domburg
can only have one write server on a single index or you'll risk data corruption. Another strategy is partitioning: having separate indices for buckets of data. Each index could run on it's own server or cluster of servers. -- Roderick van Domburg http://www.nedforce.com -- Posted via http

[Rails] Re: Riding Rails Weblog Feed Broken!

2009-02-24 Thread Roderick van Domburg
that :-) And don't forget to add a test case ;-) -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

[Rails] Re: Converting Acts_As_Tree to Acts_As_Nested_Set

2009-02-18 Thread Roderick van Domburg
algorithm for conversion. It'll spare you development time and guarantee a proper conversion. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Re: Converting Acts_As_Tree to Acts_As_Nested_Set

2009-02-18 Thread Roderick van Domburg
to work. In this example, I am using a model named Categories: Never read and thought of that, but that should work great! -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message

[Rails] Re: how to reduce memory footprint of a rails app

2009-02-16 Thread Roderick van Domburg
-normalizer, old versions of RMagick) - Calling AR#size instead of AR#count where applicable - Retrieving large sets of data or columns where you don't need them - Loading binary files into memory Please do add to the list. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby

[Rails] Re: Looking for a tool do visualize the data model of a rails application

2009-02-16 Thread Roderick van Domburg
-rails-application/ -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] Re: how to reduce memory footprint of a rails app

2009-02-15 Thread Roderick van Domburg
to find out. There's lots of tools you could use for that, including railsbench and the NewRelic/FineRuns/Scout facilities. Depending on the time you have on your hands it might be cheaper to up the memory. RAM's cheap and developer time typically isn't. -- Roderick van Domburg http

[Rails] Re: [ANN] Radiant 0.7.0 Intaglio Release

2009-02-08 Thread Roderick van Domburg
are of note: Thanks for another great release. We love Radiant CMS. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails

[Rails] Re: should this view be optimized?

2009-01-24 Thread Roderick van Domburg
as expensive as executing the actual query, but they aren't exactly free either. It should probably be possible to bring the number of queries down. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: Trying out TDD, getting stuck!

2009-01-20 Thread Roderick van Domburg
a class was deriving from it. Is my terminology all messed up? I take that back and you are right. Must have had my head up in the clouds at that time of writing. :-) -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: Trying out TDD, getting stuck!

2009-01-19 Thread Roderick van Domburg
the two models and neither of them derive from ActiveRecord::Base. Can you post the source to either class? Also note that inheritance is not equal to derivation. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: OT: hosted full text search

2009-01-18 Thread Roderick van Domburg
arbitrary data and integrates with Lucene for providing full-text searching. It's easy to get the server up and running. -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] Re: Rails Hosting

2009-01-09 Thread Roderick van Domburg
of current limb pricing ;-) but I can plug RailsCluster at http://en.railscluster.nl. Starting at € 59 monthly you get a fully clustered and load-balanced setup. This should give you the performance that you seek. There's a free 30-day trial if you'd like to check that out. -- Roderick van Domburg

[Rails] Re: Windows Vista 64 Bit compatibility

2008-12-17 Thread Roderick van Domburg
ronbarl...@gmail.com wrote: Does Ruby work on a computer running Windows Vista 64 Bit OS. Yes. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Re: Video on Rails?

2008-12-17 Thread Roderick van Domburg
Hi Remco, Roderick van Domburg wrote: Check out WhooTube at http://www.nedforce.com/products/whootube-flash-video-community-portal/. It's been a while since it's been updated, but you should be able to get it up and running without too much hassle. I think there are some upgrade

[Rails] Re: Rails on shared hosting

2008-12-02 Thread Roderick van Domburg
Allow me to plug http://www.railscluster.nl (http://en.railscluster.nl for the English site), which is a fully clustered shared hosting solution. It's been designed especially for Rails hosting. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com

[Rails] Re: Rails 1.2 isn't detecting the PostgreSQL 8.3 adapter (ru

2008-10-27 Thread Roderick van Domburg
Hi Neurochild, This is weird because I have the ruby-pg gem and I have no problem with Rails 2.1. I get this error with the previous version of Rails, 1.2. It's not working here. What's going on? Rails 1.2 doesn't support the newer ruby-pg gem. Use the postgres gem instead. -- Roderick van

[Rails] Re: Rails 1.2 isn't detecting the PostgreSQL 8.3 adapter (ru

2008-10-27 Thread Roderick van Domburg
be world-readable and the .so files should be world-executable too. -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails