Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rss feed of projects #115

Merged
merged 7 commits into from
Mar 20, 2015
Merged

Rss feed of projects #115

merged 7 commits into from
Mar 20, 2015

Conversation

kirushik
Copy link
Contributor

Closes #98

@coveralls
Copy link

Coverage Status

Coverage increased (+0.65%) to 79.64% when pulling b20c273 on kirushik:rss_feed_of_projects into c376e72 on SUSE:master.

@@ -19,7 +19,8 @@ class Project < ActiveRecord::Base

has_many :comments, as: :commentable, dependent: :destroy

has_and_belongs_to_many :episodes
has_many :episode_project_associations
has_many :episodes, through: :episode_project_associations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change the association type?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need the intermediate object — to store created_at and sort by it.
This allows me to add existing project on top of the RSS feed, if it was just added in the episode.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hennevogel
Copy link
Member

LGTM 🎆

hennevogel added a commit that referenced this pull request Mar 20, 2015
@hennevogel hennevogel merged commit d1cf58f into SUSE:master Mar 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RSS feed of projects
3 participants