Displaying 6 results from an estimated 6 matches similar to: "Most efficient way to "increment" a string?"
2006 Feb 02
4
AjpRails; Rails runner using AJP13
Hello, all.
I released AjpRails 0.1.0. AjpRails is a script for running Ruby on
Rails. Rails this script runs uses AJP13(Apache JServ Protocol 1.3)
instead of CGI or FastCGI, to cooperate with your HTTPd.
Its RubyForge project is:
http://rubyforge.org/projects/ruby-ajp/
Project home page is:
http://ruby-ajp.rubyforge.org/wiki/wiki.pl
Now, AjpRails is slower and much more unstable than
2006 Jul 13
2
find_by_id(nil) does not always return nil
I have a model named User. When running this application from the
console I can call User.find_by_id(nil) and it returns nil. When running
this application during testing or through WEBrick or Mongrel calling
User.find_by_id(nil) returns the newest record in the database. But it
only does this the first time you call it with nil. The second time you
call User.find_by_id(nil) it returns nil.
2006 Jun 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it
says:
A TypeError occurred in [controller]#[action]:
can''t convert Magick::GravityType into Integer
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
Any advice? Here''s the backtrace:
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
2010 Sep 17
0
Samba and Password Complexity
A password set from Windows XP requires a certain level of complexity:
by default, Windows will not allow a password of "aaaaaa", but it will
allow "Johnny1". I've been experimenting with a check password script
so that both would be rejected. That worked. However, when I removed
the check password script line from smb.conf and restarted Samba,
Windows did not return to
2006 Mar 11
0
Ruby-GetText-Package-1.3.0
Hi,
Ruby-GetText-Package-1.3.0 is now available.
Now ActiveRecord::Column.human_name values translate automaticaly.
Changes for RoR
---------------
* Improve Local::Object
* POSIX, C convert to "en".
* Enhance supports of Ruby on Rails.
* ActionMailer localization support.
* Use GetText function(_() N_() etc) in template.
* ISO-2022-JP charset is used when language
2010 Apr 19
10
Overview of Ruby 1.9 encoding problem tickets
SUMMARY:
--------
I tried to identify the general and root causes for these problems
with 1.9, by taking into account non-utf encoding, current patches,
comments and ideas. I used ticket #2188 as base for explanations.
This is a long read. I wanted to include all the relevant information
in one place. I also included information about related tickets in LH
and their status. I decided that adding