Great to rails is used on Pats site. If only I had a spare 10K to go
On Jul 16, 9:46 am, matt <
m...@hiddenloop.com> wrote:
> You've guess correctly, i'll give that a go
>
> thanks!
>
> m
>
> On Jul 16, 1:32 am, Dave Rice <
davidjr...@gmail.com> wrote:
>
> > Matt, yeah the best way (imho) is to ensure canonical urls for
> > everything (which is good for google fu too) by using rewrite rules.
>
> > I'm guessing you're on nginx? :)
>
> > server {
> > rewrite ^(.*)
http://domain.com$1permanent;
> > ...
>
> > }
>
> > Best,
> > Dave
>
> > On 16 Jul 2008, at 01:22, matt wrote:
>
> > > Quick question for an edge case - just checking if anyone's come up
> > > against it before......
> > > If you're doing action caching and using something like this to expire
> > > a cached fragment;
>
> > > expire_fragment(:controller => '/news', :action =>
> > > 'find_by_date', :year => post.publish_date.year)
>
> > > it works fine, BUT lets say you have the following urls that can be
> > > used on both the front and back end;
>
> > >
http://www.beyondendurance.ie
> > > AND