How do you even save a “duration”, let alone query for records by that value? It’s actually easier than you think.
Search through user-provided HTML content with PostgreSQL and Active Record.
Extract common clauses when using Active Record’s .or method.
Sign up to receive a weekly recap from thoughtbot