Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#28

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

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

State: invalid
Milestone: none
Assigned to: Ian White Ian White

Activity

  1. Ian White
    Ian White
    • 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 Ability to specify the pickle reference when using table for for model creation state:invalid]

    August 17th, 2010 @ 12:08 PM

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.