All threads / Sponsored Post Model?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Sponsored Post Model?

Ketan Anjaria asked in Rails

i want to build a feature where on certain pages I could highlight different posts or jobs. Think of it like a sponsored google ad at the top of the rankings or a sponsored job post.
It should be polymorphic as i want to have different kinds of content sponsored. We would have admins who set the start and end times for the sponsors. Has anyone done anything like this?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,665+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.