Rails Bling
  • Posts
Introducing anonymous_active_record

ActiveRecord Without a Database? Replacement for broken Class.new(ActiveRecord::Base). Very useful in testing Rails apps, and even more so for testing gems without having to specify full blown models. If you prefer an exceptionally hacky alternative that could also be used for real runtime code, see my other gem activerecord-tablefree! Installation Add this line to your application’s Gemfile: gem 'anonymous_active_record' And then execute:

January 4, 2018 Read
Navigation
  • About
  • Skills
  • Experience
  • Projects
Contact me:
  • Email: peter.boling cinnamon roll symbol gmail.com
  • Phone: +1-925-252-5351

Toha
  • © 2020. All Rights Reserved.
Powered by Hugo Logo