Ruby on Rails Saturday, December 2, 2017

Hi, think the subject kind of says it all.  I have an existing site (https://eventpuddle.com/) and want to use RefinaryCMS to manage pages.  The app uses devise/cancancan for user managment.  Be good to get some pointers as to how to do this.  I have looked at https://www.refinerycms.com/guides/with-an-existing-rails-app and it seems relativly stright forward to add RefinaryCMS to the app but what I am not sure about is how I get it to use devise/cancancan (or if this is a bad idea should I use the RefinaryCMS user managment/access.  Some pointers woruld be great.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a1e040c7-4854-4b92-af70-bfac72eb1135%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Friday, December 1, 2017

On Thursday, November 30, 2017 at 10:23:02 PM UTC-8, Nate Sullivan wrote:
> I think the most natural way read the code created_at < 10.minutes.ago is "created_at is less than ten minutes ago," but that reading suggests the mistaken interpretation that created_at is fewer than ten minutes ago. The correct interpretation is that created_at is earlier than ten minutes ago. Is there a better way to write the same comparison?
>
>
>

I think the real issue is that English lacks strong typing and so the comparison operater is imprecise.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/36750827-e607-408b-a394-421d324b2ee1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On 1 December 2017 at 05:49, Nate Sullivan
<nathanielsullivan00@gmail.com> wrote:
> I think the most natural way read the code created_at < 10.minutes.ago is
> "created_at is less than ten minutes ago," but that reading suggests the
> mistaken interpretation that created_at is fewer than ten minutes ago. The
> correct interpretation is that created_at is earlier than ten minutes ago.

It never occurred to me that there is any confusion over this syntax.
created_at is a time, 10 minutes ago is a time, time a < time b is
unambiguous.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtm5q69a0EksV1vCPOSYY3yUrSCt%3DB80RT8iLZwdMKnSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.