Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

clowne

> 后端框架
Open source

A flexible gem for cloning models

325 stars0 likes1 views
WebsiteGitHub

About

A flexible gem for cloning models

Clowne

A flexible gem for cloning your models. Clowne focuses on ease of use and provides the ability to connect various ORM adapters.

Read Evil Martians Chronicles to learn about possible use cases.

Documentation

Clowne is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups.

Installation

To install Clowne with RubyGems:

ruby
gem install clowne

Or add this line to your application's Gemfile:

ruby
gem "clowne"

Quick Start

Assume that you have the following model:

ruby
class User  

operation = UserCloner.call(user, email: "[email protected]")
# => 

operation.to_record
# => 

operation.persist!
# => true

cloned = operation.to_record
# => 

cloned.login
# => nil
cloned.email
# => "fake@example.com"

# associations:
cloned.posts.count == user.posts.count
# => true
cloned.profile.name
# => nil

Take a look at our documentation for more info!

Supported ORM adapters

Adapter 1:1 *:1 1:M M:M
Active Record has_one belongs_to has_many has_and_belongs_to
Sequel one_to_one - one_to_many many_to_many

Maintainers

  • Vladimir Dementyev

  • Nikolay Sverchkov

License

The gem is available as open source under the terms of the MIT License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyactiverecordcloninghacktoberfestrails

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架