2006-01-01から1ヶ月間の記事一覧
Acording to Web Hosts that support Ruby on Rails: Hardfocus Media Full-service hosting in Japan. cPanel, Ruby on Rails, FastCGI, PHP, MySQL, etc. (Support in English). Hm, who are Hardfocus Media? Who is providing this service? And 1000 ye…
In Rails 1.1, the :has_many method has a couple of new parameters that allow us to effectively bridge an intermediate object...A basic bridging is as simple as adding a new :has_many method on the two main objects, adding a :through parame…
A relatively unknown webserver from LiteSpeed Technologies claims to be six times faster than Apache with a PHP interface that is 50% faster than mod_php...Litespeed webserver is available in 3 editions, the standard edition being free (fo…
The issue of Cross Site Scripting (XSS) vulnerabilities in web applications has been getting a lot of attention lately due to hacks on high-profile sites such as LiveJournal...The attached file (html_escaper.rb) makes it easy to protect yo…
...The 0.1.2 release sports a nifty fresh all C URIClassifier that's a hell of a lot faster. This has made things very quick and could become the basis for an incredibly good caching mechanism in the future.... Warning: ...This release als…
Q: I am experiencing a heavy slowdown of the entire dom0 and all other domUs if *one* domU gets under heavy load.Is there any way to tighten this domU by adjusting something like scheduling? A: You can use elevator=cfq as the command line …
Lots of people on the Rails ML reported that problem on different OSes - Linux, FreeBSD and OS X. Better stay with 1.4.8
Shovel is a customized Switchtower deployment file to setup config files on TextDrive in order to make it easier to start running Rails with lighttpd. It could also be modified to work with other shared hosts who run lighttpd.
RailsCron is a way to execute background tasks using your Ruby on Rails environment. The RailsCron object is an ActiveRecord, so you can manipulate it in familiar ways. RailsCron SVN Repository
We had the same problem. Needed apache for subversion and lighttpd for rails projects.See also: lighttpd, apache 2 and rails
Indexed Search is a simple, pluggable engine for rails applications which can be used to enable full text indexed searches within an application.
Mongrel is a web server that performs much better than WEBrick (1350 vs 175 req/sec) and only has one small C extension...It uses some Ruby 1.8.4 stuff and it uses a C extension for the HTTP parsing. The C is all ANSI so you should be OK..…
Camping is a web framework which consistently stays at less than 4kb of code...The idea here is to store a complete fledgling web application in a single file like many small CGIs. But to organize it as a Model-View-Controller application …
Markaby for Rails: why the lucky stiff and Tim Fletcher have released a pretty cool templating language for Rails called Markaby that looks like Builder, but assumes a few more things to make it even more succinct and targeted against HTML…
Libtap is a library for testing C code. It implements the Test Anything Protocol, which is emerging from Perl's established test framework.
...The distribution of a file to a large number of hosts is a time consuming task, even if the size of the file is modest...Using cooperative methods where each client that already has downloaded the file serves another client, this time c…
From somebody's weblog: I switched to 12" 867mhz pbook 2.5 years ago and i don't regret it one bit. I am a certified Windows/PC technician and make a lot of money from those infected Windows machines. That's why i use a Mac. ROFL :)
By default, Ruby has no encoding or character set support in its String class... ...Some of this behaviour can be fixed with the jcode library... $KCODE = 'UTF8' require 'jcode'...Another solution is the Unicode library by Yoshida Masato. …
A shell, written in Ruby, for any *nix like OS that allows you to run commands on several hosts at once using SSH. You can create your own commands very easy. Saving the whole session in YAML file.
The O'Reilly Ruby group weblog covers all the latest in the world of the Ruby programming language with some of the languages leading programmers. From personalities, articles, developments, books, conferences, and exciting applications, O…
Have already native Ruby bindings. Yahooooo! ...SWIG/ruby bindings: complete API coverage; automatic memory management; greatly expanded test suite...