Ruby on Rails startup errors
Ruby on Rails startup errors
If you see something similar to the following when starting Rails:
!!! Path to log file not valid: log/m
All you need to do is to create the ./log directory.
Ruby on Rails startup errors
If you see something similar to the following when starting Rails:
!!! Path to log file not valid: log/m
All you need to do is to create the ./log directory.
To set up an existing Ruby on Rails project in Intellij Idea 8:
You should now be able to debug and run your project using Intellij.
Installing the Pullmonkey Open Flash Chart II for Ruby on Rails (Pullmonkey)
Done!
mini_magick is a gem that allows you to run ImageMagick in a shell rather that as part of your application. It replaces Rmagick.
To install
sudo gem install mini_magick
To use in your code
git clone git://github.com/kete/tiny_mce.git tiny_mce_plugin
sudo mongrel_rails cluster::start / stop
Seems Magic Multi-Connections does what it says and provides simple support for multiple databases in a single Rails model.
A simple and clear performance comparison for various versions of PHP and a little Rails at the end from PHP framework comparison benchmarks.
Interesting comments about Ruby on Rails scaling at Twitter, one of most heavily used Rails apps out there, from 5 Question Interview with Twitter Developer Alex Payne.
$KCODE=’u’ doesn’t seem to do anything
regex patterns take /u parameter to enable Unicode (Parsing UTF-8 encoded strings in Ruby)
Chilkat though I can’t see where to download/buy the Ruby libraries. Looks like it may be Windows only.
Onigurama is unicode-aware regex engine available for Ruby 1.8.6. Unclear how involved that is, or whether it’s compatible with UTF8/Unicode support in other packages – e.g.. character-encodings gem.
Rails 2.x handles UT8 encoding out of the box – IFF you use the ‘.chars’ accessors for strings (see the RubyOnRails Wiki) – uses the ActiveSupport unicode and multibyte extensions