![]() | Fixtures bypassing ActiveRecord |
|
15 May 2011, 12:25
Danny O Cuiv (7 posts) |
Thanks Noel for your answer to my previous question. I’ve got another. On page 77 of the print edition (or page 83 of the PDF), you say:
This implies to me that things like virtual attributes are allowed in a call to create, whereas fixtures are restricted to actual database columns (and associations). I was curious and looked this up in the API. create() just calls new() before saving and in the documentation for the new() method, it states:
This seems to me to be at odds with you wrote above. Can you clarify? Thanks, Danny. |
|
27 May 2011, 20:57
Danny O Cuiv (7 posts) |
I’m going to bump this one if that’s OK. (It’s been almost two weeks and 130 views.) Anyone got any idea what was being referred to here? Thanks, Danny. |
| You must be logged in to comment |

