News for hackers. Stuff that matters.
Re:How is Ruby different in Japan? by copperx on Sunday June 18, 2017 @09:25PM (#14584025)
Now I'm really curious. What framework would you prefer to use build a webapp?

I'm looking for Rails alternatives.

Re:How is Ruby different in Japan? by nextlevelwizard on Monday June 19, 2017 @01:16AM (#14584742)
I've done RoR stuff and something about "doing-things-the-rails-way" bugs me to no end. After being paid to work on a RoR app I started to hate Ruby. Some time after I wrote something small and silly for my thesis (to visualize some data and give my classmates something to play with) in Sinatra and it rekindled my love for the language.

Something I can't really put my finger on just rubs me in the wrong way in Rails, but using Sinatra felt like shattering chains that were holding me back. Maybe it was partly that I was learning NodeJS at the time, I dunno, but I can't recommend Sinatra enough. This being said I have zero experience with Sinatra in an production environment, so take this anecdote with a shovel(s) of salt.

Re:How is Ruby different in Japan? by cyberferret on Sunday June 18, 2017 @10:48PM (#14584301)
For some reason, I could never get the hang of Rails. But when I found Sinatra, it all made perfect sense to me.

Now I exclusively use Padrino [0] as the framework to build all my web apps. It is a framework on top of Sinatra that gives you a lot of the Rails goodness, but allows you to be really agnostic in terms of ORMs, Testing/Mock frameworks, rendering platform etc.

[0] - http://padrinorb.com

Re:How is Ruby different in Japan? by prh8 on Sunday June 18, 2017 @09:55PM (#14584141)
If you want something comparable (feature wise) to Rails, then check out Hanami. It's much better designed for large apps. If you are looking for a micro framework, I'd suggest Roda. I'd characterize those two as the modern replacements for Rails/Sinatra.
Re:How is Ruby different in Japan? by cyberferret on Sunday June 18, 2017 @10:52PM (#14584318)
Took a brief look at Hanami. Is it optimised for deployment to Heroku only? Or does it support AWS Elastic Beanstalk also?
Re:How is Ruby different in Japan? by prh8 on Sunday June 18, 2017 @11:40PM (#14584494)
It is just like any other Rack based app, can be deployed anywhere.
Re:How is Ruby different in Japan? by wx196 on Monday June 19, 2017 @04:22AM (#14585360)