Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
dominicsayers
/
machinist
Public
forked from
attilagyorffy/machinist
Notifications
You must be signed in to change notification settings
Fork
3
Star
8
Code
Issues
0
Pull requests
1
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
machinist
spec
on
1.0.0
User selector
All users
All time
Commit history
Commits on Jun 1, 2009
Added missing spec for handling DM validations.
notahat
committed
d6823ef
View commit details
Copy full SHA for d6823ef
View code at this point
Browse repository at this point
Added spec for uncovered code in the DM adapter.
notahat
committed
c6dc5cd
View commit details
Copy full SHA for c6dc5cd
View code at this point
Browse repository at this point
Patch from hassox: support for edge version of DM.
notahat
committed
e9207df
View commit details
Copy full SHA for e9207df
View code at this point
Browse repository at this point
Commits on May 29, 2009
DataMapper adapter plan method.
notahat
committed
fd0da28
View commit details
Copy full SHA for fd0da28
View code at this point
Browse repository at this point
Added make_unsaved for DataMapper.
Show description for c25abca
notahat
committed
c25abca
View commit details
Copy full SHA for c25abca
View code at this point
Browse repository at this point
Commits on May 28, 2009
DataMapper spec cleanup.
notahat
committed
1745657
View commit details
Copy full SHA for 1745657
View code at this point
Browse repository at this point
Use in-memory sqlite DB for ActiveRecord tests.
notahat
committed
b6b30cd
View commit details
Copy full SHA for b6b30cd
View code at this point
Browse repository at this point
Basic DataMapper support with tests.
Show description for bb09cd6
notahat
committed
bb09cd6
View commit details
Copy full SHA for bb09cd6
View code at this point
Browse repository at this point
Fixed incorrect named blueprints test.
Show description for 924f73d
notahat
committed
924f73d
View commit details
Copy full SHA for 924f73d
View code at this point
Browse repository at this point
Commits on May 17, 2009
Cleaned up the docs.
Show description for 3574d2f
notahat
committed
3574d2f
View commit details
Copy full SHA for 3574d2f
View code at this point
Browse repository at this point
Added plain old Ruby object support.
Show description for c10b400
notahat
committed
c10b400
View commit details
Copy full SHA for c10b400
View code at this point
Browse repository at this point
Got a few more steps down the road of splitting out the ActiveRecord-specific code.
notahat
committed
ddde7a3
View commit details
Copy full SHA for ddde7a3
View code at this point
Browse repository at this point
Commits on Mar 19, 2009
Fixed a failing spec for named_blueprints that wrongly depended on the order of the returned results.
notahat
committed
e85a46c
View commit details
Copy full SHA for e85a46c
View code at this point
Browse repository at this point
Added two more examples to test named_blueprints and clear_blueprints! methods
Marcos Arias
authored and
notahat
committed
e592828
View commit details
Copy full SHA for e592828
View code at this point
Browse repository at this point
Commits on Mar 6, 2009
named_blueprints method which returns an array of the named blueprints available to a model.
Show description for 38844da
chrislloyd
committed
38844da
View commit details
Copy full SHA for 38844da
View code at this point
Browse repository at this point
Commits on Mar 4, 2009
fix spec for plan on has_many assoc not creating extra parent object
adzap
authored and
notahat
committed
f44b674
View commit details
Copy full SHA for f44b674
View code at this point
Browse repository at this point
Commits on Feb 19, 2009
Fixed a bug in the spec for named blueprints. (Thanks Jonas Nicklas and John Barton.)
notahat
committed
6778349
View commit details
Copy full SHA for 6778349
View code at this point
Browse repository at this point
Commits on Feb 18, 2009
Added support for named blueprints (after many, many requests.)
notahat
committed
d6492e6
View commit details
Copy full SHA for d6492e6
View code at this point
Browse repository at this point
If, in a blueprint, you don't provide a block for an attribute, Machinist will default to trying to find a Sham definition with the same name as an attribute.
Show description for 1f916bb
notahat
committed
1f916bb
View commit details
Copy full SHA for 1f916bb
View code at this point
Browse repository at this point
Commits on Feb 12, 2009
Cleaned up a few things, including adding an FAQ to the readme.
notahat
committed
ddd65d9
View commit details
Copy full SHA for ddd65d9
View code at this point
Browse repository at this point
Commits on Feb 11, 2009
Started moving ActiveRecord-specific code into a separate .rb file, with the intention of supporting other ORM layers.
Show description for 6ebf28b
notahat
committed
6ebf28b
View commit details
Copy full SHA for 6ebf28b
View code at this point
Browse repository at this point
Commits on Feb 5, 2009
Added support for calling make and plan on ActiveRecord associations.
Show description for 42e828e
notahat
committed
42e828e
View commit details
Copy full SHA for 42e828e
View code at this point
Browse repository at this point
Converted specs to use real ActiveRecord objects and a sqlite database, and picked up a couple of bugs in the tests along the way.
notahat
committed
1375a25
View commit details
Copy full SHA for 1375a25
View code at this point
Browse repository at this point
Merge branch 'master' of git://github.com/tjsheehy/machinist
notahat
committed
f81d1d0
View commit details
Copy full SHA for f81d1d0
View code at this point
Browse repository at this point
Commits on Feb 4, 2009
Added the plan method, that parallels make but, rather than saving the object, returns a hash of its attributes. This is great for use in controller tests.
Show description for 5208ba9
notahat
committed
5208ba9
View commit details
Copy full SHA for 5208ba9
View code at this point
Browse repository at this point
Commits on Jan 10, 2009
Added code to support the :class_name attribute on object associations.
Show description for 82e2b02
tjsheehy
committed
82e2b02
View commit details
Copy full SHA for 82e2b02
View code at this point
Browse repository at this point
Commits on Dec 29, 2008
Cleaned up Ian White's Sham.define patch.
notahat
committed
0a989f6
View commit details
Copy full SHA for 0a989f6
View code at this point
Browse repository at this point
Commits on Dec 23, 2008
Sham.define allows defining a bunch of shams at once, e.g.
Show description for b8198d3
ianwhite
committed
b8198d3
View commit details
Copy full SHA for b8198d3
View code at this point
Browse repository at this point
Commits on Dec 20, 2008
make now supports overriding protected attributes.
Show description for de9432d
notahat
committed
de9432d
View commit details
Copy full SHA for de9432d
View code at this point
Browse repository at this point
Commits on Dec 17, 2008
Allow id and type attributes in blueprints. (Thanks to Jon Guymon and Roland Swingler for pointing out the need for this, and providing equivalent patches.)
notahat
committed
5b06339
View commit details
Copy full SHA for 5b06339
View code at this point
Browse repository at this point
Commits on Dec 14, 2008
Rewrote the specs.
Show description for 1a734f8
notahat
committed
1a734f8
View commit details
Copy full SHA for 1a734f8
View code at this point
Browse repository at this point
Cleaned up perryn's patch to allow strings as keys to make, which helps machinist play nicely with Cucumber's FIT tables.
Show description for f9b778a
notahat
committed
f9b778a
View commit details
Copy full SHA for f9b778a
View code at this point
Browse repository at this point
Merge branch 'master' of git://github.com/perryn/machinist into perryn
notahat
committed
4905664
View commit details
Copy full SHA for 4905664
View code at this point
Browse repository at this point
Added specs for accessing the object under construction and its attributes from within a blueprint.
notahat
committed
02c766d
View commit details
Copy full SHA for 02c766d
View code at this point
Browse repository at this point
Commits on Dec 13, 2008
allow string keys in parameters
perryn
committed
74d5d56
View commit details
Copy full SHA for 74d5d56
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.