27.02.2013 Views

Rails%203%20In%20Action

Rails%203%20In%20Action

Rails%203%20In%20Action

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating tags<br />

using find_by_default. find_or_create_by methods work in a similar fashion,<br />

except they will always return a record, whether it be a pre-existing one or a recently<br />

created one.<br />

After all the tags have been iterated through, you assign them to a ticket by using<br />

the

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!