[Rails] Re: Activity streams/News feeds with Aggregation, MySQL and Redis support

2014-03-23 Thread Kenny Meyer
SS.parse open(" > http://www.npr.org/rss/rss.php?id=1007";) > @health_and_science.entries.each do |f| >printf("NPR Feed: %s %s\n", f.pubDate.to_date, f.title) > end > > > > On Friday, March 21, 2014 1:39:17 PM UTC-4, Kenny Meyer wrote: >> >> C

Re: [Rails] Activity streams/News feeds with Aggregation, MySQL and Redis support

2014-03-23 Thread Kenny Meyer
> On 2014-Mar-21, at 13:39 , Kenny Meyer > > wrote: > > Can anyone recommend a gem/library? > > On Friday, March 21, 2014 2:38:45 PM UTC-3, Kenny Meyer wrote: >> >> I need to implement an activity feed for a Rails application with the >> following feature

[Rails] Re: Activity streams/News feeds with Aggregation, MySQL and Redis support

2014-03-21 Thread Kenny Meyer
Can anyone recommend a gem/library? On Friday, March 21, 2014 2:38:45 PM UTC-3, Kenny Meyer wrote: > > I need to implement an activity feed for a Rails application with the > following features: > > - Needs to work with MySQL database > - Needs to support aggregations for si

[Rails] Activity streams/News feeds with Aggregation, MySQL and Redis support

2014-03-21 Thread Kenny Meyer
I need to implement an activity feed for a Rails application with the following features: - Needs to work with MySQL database - Needs to support aggregations for similar feed stories (like Facebook) There is a library out there for Python, Feedly https://github.com/tschellenbach/Feedly, whic

[Rails] Re: Defining a scope which compares a field against an array

2012-08-15 Thread Kenny Meyer
x27; OR "people"."name" LIKE 'Mary%')) On Wednesday, August 15, 2012 11:17:53 AM UTC-4, Kenny Meyer wrote: > > Hello, > > I am defining the following scope for my model: > > class Entry < ActiveRecord::Base > attr_accessible :email, :publis

[Rails] Defining a scope which compares a field against an array

2012-08-15 Thread Kenny Meyer
Hello, I am defining the following scope for my model: class Entry < ActiveRecord::Base attr_accessible :email, :published, :result_id, :text, :url belongs_to :result def self.not_filtered(keywords) where(['text NOT IN (?)', keywords]) if keywords.any? end This is supposed to retur

Re: [Rails] Authentication and authorization

2011-07-09 Thread Kenny Meyer
; On Sat, Jul 9, 2011 at 4:05 AM, Kenny Meyer wrote: >> >> Maybe have a look at Cream [1]. It handles authentication, >> authorization, user roles, and permissions in a single project (making >> use of devise and cancan). It seems to be actively used and developed. >&g

Re: [Rails] Authentication and authorization

2011-07-08 Thread Kenny Meyer
Maybe have a look at Cream [1]. It handles authentication, authorization, user roles, and permissions in a single project (making use of devise and cancan). It seems to be actively used and developed. I've not yet tried it, but I'm about to make my first steps. [1] https://github.com/kristianmand