Displaying 2 results from an estimated 2 matches for "job_postings".
2008 Mar 21
5
foreign key question
Hi-
Say I have a db with following schema:
MyTable:
Id, name, user_id, date
User:
id, name, description
I know that I want to add "belongs_to" in my "user" model but how can
I enforce a proper constraint on the user_id in "MyTable"? Is this
done using a has_one in the "MyTable" model?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You
2011 Mar 27
0
replacement for functionality from acts_as_textiled
Our app is on Rails 2.1.0 and has a couple of fields used for job
descriptions. These fields use textile codes for bold, italic,
underline, etc... From what I understand this is provided by RedCloth
and acts_as_textiled. I have been investigating and find
acts_as_textiled (https://github.com/defunkt/acts_as_textiled) is no
longer maintained, and although forked into another gem (https://