Mark belongs_to association as optional
The belongs_to relationship from the SubscribeJobState model to the Feed model is optional; only if the job state is SUCCESS does the object actually belong to a feed, otherwise...
View ArticleUse built-in redis cache store for Rails instead of redis-rails gem
The built-in redis cache store is in Rails since 5.2. Removing the redis-rails gem from the bundle is a prerequisite before updating Rails to Rails 6 (the gem is deprecated and is not compatible with...
View ArticleDo not load some constants on initialization
This removes a zeitwerk deprecation warning.
View ArticleAdded listen gem to the bundle
Since recent rails changes this is necessary in development
View ArticlePinned rspec-rails to version 4.0.0.beta3
As discussed in https://github.com/rspec/rspec-rails/issues/2086 , rspec-rails 3.x is incompatible with rails 6, making controller tests to fail. For now FeedBunch will use a beta relase of...
View ArticleMoved default config values to initializers
Previously they were in application.rb, but the recommended way of doing things is to move these to initializers and leave application.rb as simple as possible
View ArticleFixed error fetching special feeds
A String with the class name was being used instead of the actual handler class. This raised an error: NoMethodError: undefined method `fetch_feed' for "TumblrFeedFetcher":String
View Article
More Pages to Explore .....