ClickGems by ClickHouse
--
to
--

to_activerecord

Authors: Dr Nic Williams
Summary: Find ActiveRecord instances via their ID value. Now you can use 37.to_post instead of Post.find(37). Used in conjunction with the map_by_method gem: [37,103].map_by_to_post

Can't find the visual you need? Build your own here

Download

14

last day

129

last month

10K

total

Version

All

version

0.2.0to_activerecord

latest version

RubyGem Downloads Over Time

loading-iconLoading

Top RubyGem Versions

loading-iconLoading

Downloads by Ruby Version Over Time

loading-iconLoading

Downloads by System Over Time

loading-iconLoading

RubyGem Downloads by Country

loading-iconLoading
© 2026 ClickHouse, Inc. HQ in the Bay Area, CA and Amsterdam, NL.