Groups
Sign in
Groups
Machinist Users
Conversations
About
Send feedback
Help
Machinist Users
Contact owners and managers
1–30 of 54
Mark all as read
Report group
0 selected
Robert Meyer
,
Pete Yandell
2
12/11/13
undefined method `blueprint' for CreditModel:Module (NoMethodError)
I can see why it doesn't work: you're trying to use Machinist on a module. Assuming it worked
unread,
undefined method `blueprint' for CreditModel:Module (NoMethodError)
I can see why it doesn't work: you're trying to use Machinist on a module. Assuming it worked
12/11/13
Graham Ashton
,
Pete Yandell
3
10/2/11
Assigning blueprint attributes explicitly
On Sep 28, 11:20 pm, Pete Yandell <p...@notahat.com> wrote: > The simple solution: > >
unread,
Assigning blueprint attributes explicitly
On Sep 28, 11:20 pm, Pete Yandell <p...@notahat.com> wrote: > The simple solution: > >
10/2/11
tispratik
, …
Pete Yandell
5
6/27/11
What do we use in place of Sham.reset in Machinist2
Like Gabriel said, Sham doesn't exist in Machinist 2, so you don't use anything. See https://
unread,
What do we use in place of Sham.reset in Machinist2
Like Gabriel said, Sham doesn't exist in Machinist 2, so you don't use anything. See https://
6/27/11
Ary Borenszweig
, …
Chris Corbyn
3
6/19/11
Best way to blueprint the abstract class of a single table inheritance model?
> If I was you, though, I'd just write a helper method, and call > Machinist from that. If
unread,
Best way to blueprint the abstract class of a single table inheritance model?
> If I was you, though, I'd just write a helper method, and call > Machinist from that. If
6/19/11
ch...@flippa.com
5/24/11
Can I invoke an arbitrary setter method during #make?
Hi, I'm using DataMapper, so I'm working with Machinist 1.0. I have a model like: class User
unread,
Can I invoke an arbitrary setter method during #make?
Hi, I'm using DataMapper, so I'm working with Machinist 1.0. I have a model like: class User
5/24/11
Lukas Rieder
5/18/11
Associations are not being created (Using Rails 3, RSpec 2, Machinist 1)
Hy, I'll try to describe my problem as precisely as I can. # The outline: When I run all my tests
unread,
Associations are not being created (Using Rails 3, RSpec 2, Machinist 1)
Hy, I'll try to describe my problem as precisely as I can. # The outline: When I run all my tests
5/18/11
map7
,
Pete Yandell
3
3/20/11
Creating a blueprint for a belong_to with foreign_key
Here is my full blueprints.rb file: require 'machinist/active_record' # https://github.com/
unread,
Creating a blueprint for a belong_to with foreign_key
Here is my full blueprints.rb file: require 'machinist/active_record' # https://github.com/
3/20/11
Haruka YAGNI
,
Pete Yandell
5
3/8/11
Machinist generates NOT unique data on Rspec
Thank you!! I deleted (:all) from every spec, and all errors have gone away! -- Haruka YAGNI
unread,
Machinist generates NOT unique data on Rspec
Thank you!! I deleted (:all) from every spec, and all errors have gone away! -- Haruka YAGNI
3/8/11
FuzzLightyear
2
1/25/11
'eq' not found
I seem to be getting this on all blueprints. NoMethodError: undefined method `eq' for nil:
unread,
'eq' not found
I seem to be getting this on all blueprints. NoMethodError: undefined method `eq' for nil:
1/25/11
Martin
,
Pete Yandell
3
9/28/10
Undefined method `reset_before_test' for Machinist:Module
Hmm, right you are. Thanks! :) -- Martin 2010/9/28 Pete Yandell <pe...@notahat.com> Ummm, looks
unread,
Undefined method `reset_before_test' for Machinist:Module
Hmm, right you are. Thanks! :) -- Martin 2010/9/28 Pete Yandell <pe...@notahat.com> Ummm, looks
9/28/10
powertoaster
2
9/26/10
I can't get it to work in Cucumber
I got make to work. As it turns out it was just a silly typo. On Sep 26, 1:43 pm, powertoaster <
unread,
I can't get it to work in Cucumber
I got make to work. As it turns out it was just a silly typo. On Sep 26, 1:43 pm, powertoaster <
9/26/10
samullen
,
Pete Yandell
3
8/24/10
Machinist 2 - Associations: Am I doing them right?
Pete, Thanks. I realized what I was doing wrong shortly after posting my initial query. I had gotten
unread,
Machinist 2 - Associations: Am I doing them right?
Pete, Thanks. I realized what I was doing wrong shortly after posting my initial query. I had gotten
8/24/10
Louis
8/19/10
"Adapter not set"
Hello there, I'm using Datamapper and Sinatra, and I keep getting this error when I try to use
unread,
"Adapter not set"
Hello there, I'm using Datamapper and Sinatra, and I keep getting this error when I try to use
8/19/10
joe
,
Pete Yandell
2
8/19/10
Machinist with Non-ActiveRecord Models
On Fri, Aug 20, 2010 at 6:23 AM, joe <jelli...@gmail.com> wrote: I'm wondering if there
unread,
Machinist with Non-ActiveRecord Models
On Fri, Aug 20, 2010 at 6:23 AM, joe <jelli...@gmail.com> wrote: I'm wondering if there
8/19/10
CMatthews
,
Pete Yandell
2
8/10/10
Is There A perferred way to test mailers?
On Wed, Aug 11, 2010 at 12:37 AM, CMatthews <cannon....@gmail.com> wrote: or do i just use
unread,
Is There A perferred way to test mailers?
On Wed, Aug 11, 2010 at 12:37 AM, CMatthews <cannon....@gmail.com> wrote: or do i just use
8/10/10
Vojto Rinik
,
Pete Yandell
2
8/6/10
Do I need to add extend my classes with Machinist::Machinable?
On Aug 7, 8:50 am, Vojto Rinik <zero0...@gmail.com> wrote: > Should I manually extend my
unread,
Do I need to add extend my classes with Machinist::Machinable?
On Aug 7, 8:50 am, Vojto Rinik <zero0...@gmail.com> wrote: > Should I manually extend my
8/6/10
Marcello 'Mereghost' Rocha
,
Pete Yandell
2
7/11/10
[Machinist 2] Unique attributes with other validations
On Jul 12, 1:07 am, "Marcello 'Mereghost' Rocha" <marcello.ro...@gmail.com>
unread,
[Machinist 2] Unique attributes with other validations
On Jul 12, 1:07 am, "Marcello 'Mereghost' Rocha" <marcello.ro...@gmail.com>
7/11/10
Pete Yandell
7/6/10
Machinist 2 Beta
There's an early beta release of Machinist 2 available now, for anyone who's keen: http://
unread,
Machinist 2 Beta
There's an early beta release of Machinist 2 available now, for anyone who's keen: http://
7/6/10
Sharagoz
,
Pete Yandell
5
6/15/10
Is there any configuration to do to enable DB rollbacks?
On Jun 15, 3:22 pm, Pete Yandell <p...@notahat.com> wrote: > it should just work unless you
unread,
Is there any configuration to do to enable DB rollbacks?
On Jun 15, 3:22 pm, Pete Yandell <p...@notahat.com> wrote: > it should just work unless you
6/15/10
Florent2
,
Pete Yandell
3
6/15/10
make working in console but no in seeds.rb
Thanks 2010/6/14 Pete Yandell <pe...@notahat.com> For starters, your blueprint needs to read:
unread,
make working in console but no in seeds.rb
Thanks 2010/6/14 Pete Yandell <pe...@notahat.com> For starters, your blueprint needs to read:
6/15/10
Sohail Ahmed
4/20/10
[machinist-users] Blueprints for a state machine in different states by invoking events on the machine?
I've got a situation where I'd like to create a named blueprint for a model called "
unread,
[machinist-users] Blueprints for a state machine in different states by invoking events on the machine?
I've got a situation where I'd like to create a named blueprint for a model called "
4/20/10
fosrias
,
Pete Yandell
6
4/15/10
make_unsaved called in make_unsaved flips the nerfed flag and saves the blueprint
Hi Pete: Pull request sent. Let me know if you have any questions. Also, would you be willing to add
unread,
make_unsaved called in make_unsaved flips the nerfed flag and saves the blueprint
Hi Pete: Pull request sent. Let me know if you have any questions. Also, would you be willing to add
4/15/10
Ramon
4/12/10
Problem with Lathe.run fixed
I got it wrong - I required 'machinist/active_record' in my blueprints file because when I
unread,
Problem with Lathe.run fixed
I got it wrong - I required 'machinist/active_record' in my blueprints file because when I
4/12/10
Ramon
4/12/10
Cucumber / Machinist: undefined method `run' for Machinist::Lathe:Class?
Hey all. I've been using Machinist a while now with RSpec, and I recently wanted to use it with
unread,
Cucumber / Machinist: undefined method `run' for Machinist::Lathe:Class?
Hey all. I've been using Machinist a while now with RSpec, and I recently wanted to use it with
4/12/10
tispratik
,
Pete Yandell
2
4/9/10
NoMethodError: undefined method `make' for #<Class:0x6ed4fd0>
On Apr 9, 3:31 pm, tispratik <tispra...@gmail.com> wrote: > Whats wrong in it? > >
unread,
NoMethodError: undefined method `make' for #<Class:0x6ed4fd0>
On Apr 9, 3:31 pm, tispratik <tispra...@gmail.com> wrote: > Whats wrong in it? > >
4/9/10
Sean DeNigris
,
Pete Yandell
3
3/8/10
Plain Old Ruby Objects with initializers taking arguments
> There's no support for doing this in Machinist at the moment. > > If you want to
unread,
Plain Old Ruby Objects with initializers taking arguments
> There's no support for doing this in Machinist at the moment. > > If you want to
3/8/10
morgoth
,
Pete Yandell
2
2/17/10
Association loop
I strongly suggest just making a separate helper: def make_user_with_points user = User.make 3.times
unread,
Association loop
I strongly suggest just making a separate helper: def make_user_with_points user = User.make 3.times
2/17/10
J2M
,
Pete Yandell
5
2/8/10
has_many association not being generated in 1.0.6
Thanks Pete. On Mon, Feb 8, 2010 at 12:08 PM, Pete Yandell <pe...@notahat.com> wrote: > On 8
unread,
has_many association not being generated in 1.0.6
Thanks Pete. On Mon, Feb 8, 2010 at 12:08 PM, Pete Yandell <pe...@notahat.com> wrote: > On 8
2/8/10
nruth
2/3/10
rspec's new support/ directory, alternative machinist installation possibility
Hi all Thought this may be of interest to some, as it means not editing the generated spec_helper
unread,
rspec's new support/ directory, alternative machinist installation possibility
Hi all Thought this may be of interest to some, as it means not editing the generated spec_helper
2/3/10
ssmithstone
, …
J2M
3
2/2/10
problem with specing controller and using blueprints attributes
There is always #stringify_keys in ActiveSupport. On Feb 3, 12:44 am, Pete Yandell <p...@notahat.
unread,
problem with specing controller and using blueprints attributes
There is always #stringify_keys in ActiveSupport. On Feb 3, 12:44 am, Pete Yandell <p...@notahat.
2/2/10