I
I
Igor Lobazov2016-10-12 10:15:53
Ruby on Rails
Igor Lobazov, 2016-10-12 10:15:53

How can a user hide their posts?

The user has a list of posts (vacancies), for example, at some point he needs to turn off the vacancy to make it inactive, naturally without deleting it. How is it implemented, what gem? aasm?

Answer the question

In order to leave comments, you need to log in

1 answer(s)

this can be done with a simple boolean field in the table. why such a zeal to pull gems?
post if post.visible?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question