Curated list of episodes, bundled to help you on your learning path!
Videos of tech, infrastructure, hardware and software which non-instructional by nature.
Articles around software and tutorials.
Show your love and support while looking fancy.
Got a question or want to chat about a topic? Let's talk!
You could do something like this
class LeaveEvent < ActiveRecord::Base scope :events_on_date, -> (date) { where('start_time <= ? AND end_time >= ?', date, date).size } ...end
Then use the scope within the JSON builder.