b2315a5728
create a random rss_token for each user and append it to the rss urls. when adding the user-specific feed url to a feed reader, the user's tag filters will be applied before generating the rss view, giving the same list of stories that the user sees while logged in.
10 lines
164 B
Ruby
10 lines
164 B
Ruby
class PrivateRssFeed < ActiveRecord::Migration
|
|
def up
|
|
add_column :users, :rss_token, :string
|
|
end
|
|
|
|
def down
|
|
remove_column :users, :rss_token
|
|
end
|
|
end
|