You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Seems my code is wrong here on the first line, anyone can help
unless p==@posts.last
somevariable << ", "
end
Colin Law
unread,
May 6, 2017, 3:18:15 AM5/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
On 5 May 2017 at 23:14, fugee ohu <fuge...@gmail.com> wrote:
> Seems my code is wrong here on the first line, anyone can help
>
> unless p==@posts.last
Are you expecting that to check all the attributes of p and
@posts.last and see if they are the same?