Dear all,<br><div class="gmail_quote"><br>As I couldn&#39;t find a bug report method on <a href="http://typosphere.org" target="_blank">typosphere.org</a>, here it goes! Did anyone notice the reference to &quot;notify_user_id&quot; in 
user.rb and the actual lack of this column in the notifications table? Or am I missing something?
<br><br>This is generating an error when you &quot;ActiveScaffold&quot; the user model. I just commented out the &quot;<span style="color: rgb(0, 0, 0);">, :foreign_key =&gt; &#39;notify_user_id&#39;</span>&quot;...<br><br>

<div style="margin-left: 40px;"><u><b>031_add_notifications_table.rb</b></u><br><br><div style="margin-left: 40px;">&nbsp;&nbsp;&nbsp; create_table :notifications, :id =&gt; false do |t|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">t.column

 :notify_user_id, :integer</span><br></div><br><u><b>056_create_notifications.rb</b></u><br><br><div style="margin-left: 40px;">&nbsp; def self.up<br>&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">rename_table :notifications, :old_notifications
</span><br>&nbsp;&nbsp;&nbsp; create_table :notifications do |t|<br><span style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t.column :content_id, :integer</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t.column

 :user_id, :integer</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t.column :created_at, :datetime</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t.column :updated_at, :datetime</span><br style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; end<br><br>&nbsp;&nbsp;&nbsp; OldNotification.reset_column_information<br>&nbsp;&nbsp;&nbsp; Notification.reset_column_information<br>&nbsp;&nbsp;&nbsp; if $schema_generator<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
OldNotification.find(:all).each do |on|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Notification.create!(on.attributes)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>&nbsp;&nbsp;&nbsp; end<br>&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">drop_table :old_notifications</span><br>&nbsp; end<br></div><br><u><b>
user.rb
</b></u><br>
<br><div style="margin-left: 40px;">&nbsp;<span style="color: rgb(255, 0, 0);"> has_many :notifications, :foreign_key =&gt; &#39;notify_user_id&#39;</span><br></div>
</div><br><br>Best regards, Ricardo<br>
</div><br>