> So do you think it's possible to add the logic to a middleware object and add
> the middleware object to the stack?
Actually... wouldn't that work as long as it was inserted before Rack::Cache?
Can someone more familiar with the caching layer confirm/deny?
On Oct 21, 2010, at 10:38 PM, Stan
On Fri, Oct 22, 2010 at 9:18 AM, Josh French wrote:
> So do you think it's possible to add the logic to a middleware object and
> add the middleware object to the stack?
>
> Actually... wouldn't that work as long as it was inserted before
> Rack::Cache? Can someone more familiar with the caching l
On Tue, Oct 19, 2010 at 2:56 PM, Nate Turnage wrote:
> Hey all,
>
> It's been a while since I've worked with Radiant and Git, and I now need to
> update a couple of apps to, at least, 0.8.2.
>
> So I was wondering if somebody could help me out by listing the command used
> to update an extension t
I'm getting loads of comments...you can imagine the descriptions!! I
can't
keep up with deleting them. How do I create a filter so that I must
approve comments before they can appear on my site?
Thank you so much.
--
Posted via http://www.ruby-forum.com/.
I just added docs for this, but set
Radiant::Config['comments.auto_approve'] = false
and you'll need to approve each one. I'd like to make the standard
spam-blocking a bit more robust in the future.
On Fri, Oct 22, 2010 at 3:47 PM, Diann S. wrote:
> I'm getting loads of comments...you can imag
Awesome. These seems to have fixed it:
extension_config do |config|
if config.middleware.include? Radiant::Cache
config.middleware.insert_before(Radiant::Cache, GeoIpRedirect)
else
config.middleware.use GeoIpRedirect
end
end
I'll reply back if my Qa team finds out it d
Jim Gay wrote in post #956414:
> I just added docs for this, but set
>
> Radiant::Config['comments.auto_approve'] = false
>
> and you'll need to approve each one. I'd like to make the standard
> spam-blocking a bit more robust in the future.
=
Thank you Jim.
Where do I put this code?
--
Post