Displaying 3 results from an estimated 3 matches for "korman".
Did you mean:
norman
2006 Oct 21
1
Kernel.require behavior
...;#{required}\n"
required = (require ''baz'')
print "#{required}\n"
------
and output:
------
[12:07am] lemur:~ > ./test.rb
true
false
./test.rb:9:in `require'': no such file to load -- baz (LoadError)
from ./test.rb:9
------
Thanks,
- Walter Korman -- http://www.lemurware.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsub...
2006 Nov 04
0
page caching urls with space characters broken in webrick and mongrel
...cache files are
always incorrectly overlooked.
Similar line in mongrel''s handlers.rb can_serve():
req_path =
File.expand_path(File.join(@path,HttpRequest.unescape(path_info)),
@path)
where unescaping the path turns the ''+'' into a '' ''.
- Walter Korman -- http://www.lemurware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group...
2006 Jun 28
0
ActiveRecord mapping users to icons
In a simple webapp containing users and user icons, what''s the right
way to use ActiveRecord to store these objects and then designate a
single ''primary'' icon for each user, given:
- a set of users.
- for each user, zero or more icons they''ve uploaded (tied to their
account).
- for each user, zero or one icon from their set of uploaded icons
designated as