On 18 February 2014 00:23, Nadia Vu wrote:
> Yep. All fixed now.
> I checked for the columns like you asked. And I found out that the
> typo/pluralization in the Taggings.rb file named the column wrong
> ie:
>
> belongs_to :posts
>
> made the column name posts_id as opposed to post_id
>
>
> after
Yep. All fixed now.
I checked for the columns like you asked. And I found out that the
typo/pluralization in the Taggings.rb file named the column wrong
ie:
belongs_to :posts
made the column name posts_id as opposed to post_id
after fixing the typo, I rolled back the migration, and ran the migr
On 17 February 2014 12:13, Nadia Vu wrote:
> Hi, thank you for that.
> I have made that change. From
>
> belongs_to :tag
> belongs_to :posts
>
> to
>
> belongs_to :tag
> belongs_to :post
>
>
>
> However. I am still getting the same error.
> Looking at many similar open stackoverflow answers and qu
Hi, thank you for that.
I have made that change. From
belongs_to :tag
belongs_to :posts
to
belongs_to :tag
belongs_to :post
However. I am still getting the same error.
Looking at many similar open stackoverflow answers and questions I honestly
thought the pluralization was going to fit it. Bu
It is belongs_to :post --- not posts
On Thursday, 13 February 2014 12:27:48 UTC+5:30, Nadia Vu wrote:
>
> Hi there, I'm very new to RoR please be kind.
>
> I wasn't sure where to go but I was hoping I could find help here after
> days of hair pulling. Stackoverflow was not successful.
5 matches
Mail list logo