#28 ✓invalid
Alex Tomlins

Ability to specify the pickle reference when using table for for model creation

Reported by Alex Tomlins | August 16th, 2010 @ 03:50 PM

It would be really good if it was possible to specify the pickle name of a model when using the table version of model creation. Something like:

Given the following articles exist:
  | pickle_name | title             |
  | article1    | My first article  |
  | article2    | My second article |
And the following comments exist:
  | commentable        | comment         |
  | article "article1" | A Comment       |
  | article "article2" | Another comment |

thanks,
Alex

Comments and changes to this ticket

  • Ian White

    Ian White August 17th, 2010 @ 12:08 PM

    • State changed from “new” to “invalid”

    Hi Alex,

    You can do this with the latest pickle. Use the factory_name as the first column to give pickle names when creating/finding models to save pickle refs

    (from the readme)

    Given the following users exist:

    | user | name   | activated |
    | Fred | Freddy | false     |
    

    Cheers,
    Ian

    [#28 state:invalid]

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Assign tickets to <b>Ian White</b>, so I get notified

People watching this ticket

Tags