Displaying 3 results from an estimated 3 matches for "actionsupport".
2006 Jun 12
1
Debian vs Ubuntu for a postgresql database + rails
I''m going to be getting a VPS at rimuhosting.com, and it''ll only run
postgresql and an app that uses AR/ActionSupport. I always use
FreeBSD, but in this case my options are limited to RHEL4, FC5, Debian
and Ubuntu. I figure Debian and Ubuntu are probably preferable...so
which one should I go with? This will not run an email, ftp, or web
server - just postgresql 8.1 plus a Ruby app of mine. Any
suggestions?
Pa...
2011 Dec 13
0
Using ActiveSupport's autoload_at
...oload.html
I thought
it''d be nice if we could replace our zillion occurences of:
autoload :Something, ''some_path/something''
with:
autoload_at ''some_path'' do
autoload :Something
end
But I keep getting undefined method autoload_at. I tried digging -
ActionSupport::Autoload is being loaded by the time it reaches the above
line (I tested by putting a puts ''loaded'' in
activesupport/lib/active_support/dependencies/autoload.rb and it worked,
and also require ''active_support/dependencies/autoload'' returned false.
I can only gu...
2006 Jun 24
6
convert 0, "0", "true", etc. to boolean
Hi,
is there a ruby / rails builtin function that converts
- 0 / 1
- "0" / "1"
- "yes" / "no"
- "true" / "false"
to a boolean?
cheers
peter