[Rails] Re: Alternative to Heroku

2018-12-03 Thread Douglas Lovell
For completeness, though I'm not sure I recommend others punish themselves thus: I provision a Linode box using Ansible and deploy to it with Capistrano. S3 bucket for attachments. It's quite cheap but also takes (or took up) a lot of my time. Tried the elastic beanstalk and felt totally

[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

[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,

Re: [Rails] Alternative to Heroku

2018-12-03 Thread David Merrick
Definitely looking foe easy solutions to deploy. Cheers Dave On Sun, Dec 2, 2018 at 1:23 AM Hasan Diwan wrote: > Easier than using Ec2 is to use Elastic Beanstalk. There is a rails > tutorial at > https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ruby-rails-tutorial.html > . Let me know

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

2018-12-03 Thread Walter Lee Davis
Sure. You just can't concat it like this. add_breadcrumb ('category / ' + @title), categories_path Or better, use "category / #{@title}" inline template syntax. Walter > On Dec 3, 2018, at 1:12 PM, Joe Guerra wrote: > > Yes, that seems to have been the culprit. I commented it out. Is