Hey,
in my current project I need to provide a city name as a prefix in
*most* of urls in my app, which acts as a scope for permalinks. I'd
like to avoid manually passing city name to almost every link_to and
redirect_to if possible.
Would it be possible to add to Rails 2.3/3.0 routing system
Hi,
with a simple Item.find(params[:id]) I got this little error (I
narrowed it down to that line by removing everything else until I
found the one causing the error):
Any ideas?
undefined method `map' for #String:0xaea0024
Rails.root: /home/mha/App
Application Trace | Framework Trace | Full
Actually, not true:
I found that
@item.tags.size
was responsible - tags is an array!
If I use
@item.tags.length
it works. Now I should clearly be able to use size? I use it with
other variables in the same context and only this one barks.
Latest ruby-1.9.2 (maybe that's the problem? It
This I'm not so sold on, expires in is a memcached implementation
specific feature and adding it to all the other cache stores simply
seems to add overhead for very little gain. No one is seriously going
to be using MemoryStore or FileStore in production and wanting to use
:expires_in.
Consistency is good - so is backward compatibility - our CloudCache
implementation relies upon ActiveSupport::Cache, so prefer that nothing be
deprecated, and if so, with a long lead time.
Thanks,
m
getCloudCache.com
On Sat, Apr 24, 2010 at 11:48 AM, Brian Durand
On Saturday, April 24, 2010, Brian Durand br...@embellishedvisions.com wrote:
This I'm not so sold on, expires in is a memcached implementation
specific feature and adding it to all the other cache stores simply
seems to add overhead for very little gain. No one is seriously going
to be
Here are some updates I have sinced I started working on LH #2188
until a patch I submitted there. Although the patch specifically fixes
ERB using workarounds in the Rails ERB handler, I tried to make the
approach as generic as possible.
On Mon, Apr 19, 2010 at 11:30:16AM -0700, Jeremy Kemper