Now
MAIN commitmail json YAML
pkgsrc/www/ruby-request_store/DESCR@1.1
/
diff
pkgsrc/www/ruby-request_store/Makefile@1.1 / diff
pkgsrc/www/ruby-request_store/PLIST@1.1 / diff
pkgsrc/www/ruby-request_store/distinfo@1.1 / diff
pkgsrc/www/ruby-request_store/Makefile@1.1 / diff
pkgsrc/www/ruby-request_store/PLIST@1.1 / diff
pkgsrc/www/ruby-request_store/distinfo@1.1 / diff
www/ruby-request_store: add package version 1.5.0
Add ruby-request_store package version 1.5.0 from wip/ruby-request_store.
Ever needed to use a global variable in Rails? Ugh, that's the worst. If youq
need global state, you've probably reached for Thread.current. Like this:
def self.foo
Thread.current[:foo] ||= 0
end
def self.foo=(value)
Thread.current[:foo] = value
end
Ugh! I hate it. But you gotta do what you gotta do...
Add ruby-request_store package version 1.5.0 from wip/ruby-request_store.
Ever needed to use a global variable in Rails? Ugh, that's the worst. If youq
need global state, you've probably reached for Thread.current. Like this:
def self.foo
Thread.current[:foo] ||= 0
end
def self.foo=(value)
Thread.current[:foo] = value
end
Ugh! I hate it. But you gotta do what you gotta do...