[Rails] Re: RuntimeError (can't modify frozen String)

2018-12-03 Thread Joe Guerra
Yes, that seems to have been the culprit.   I commented it out.  Is there a 
better way to concat the category title to the breadcrumb?

On Monday, December 3, 2018 at 1:05:14 PM UTC-5, Joe Guerra wrote:
>
> hmm, maybe it doesn't like this?
>
>
> add_breadcrumb 'category / ' << @title, categories_path
>
>
>
> On Monday, December 3, 2018 at 1:00:40 PM UTC-5, Joe Guerra wrote:
>>
>> I got this runtime error on Heroku.  I don't know what's wrong, it has 
>> been working fine.
>>
>> It's coming from my categories controller / show view. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1c72a6db-2107-46c9-80f6-ac47a2d27ecf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] Re: RuntimeError (can't modify frozen String)

2018-12-03 Thread Joe Guerra
hmm, maybe it doesn't like this?


add_breadcrumb 'category / ' << @title, categories_path



On Monday, December 3, 2018 at 1:00:40 PM UTC-5, Joe Guerra wrote:
>
> I got this runtime error on Heroku.  I don't know what's wrong, it has 
> been working fine.
>
> It's coming from my categories controller / show view. 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/95d8e5c5-a58e-4732-97f7-4be75a8a97e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.