News for hackers. Stuff that matters.
Re:Existential crisis at Railsconf by davidw on Wednesday April 22, 2015 @08:17AM (#9419827)
No, Rails isn't great for web socket kinds of things, but if it were me, I'd just use something else for that, and Rails for the main site. It's still one of the best things out there for quickly iterating, and yet still maintaining some structure and discipline, from what I've seen.
Re:Existential crisis at Railsconf by axx on Wednesday April 22, 2015 @08:19AM (#9419833)
Same here, i see it this way: use the right tool, for the right job. Sometimes it's Ruby/Rails, sometimes it's Node, somtimes it's something else.
Re:Existential crisis at Railsconf by serve_yay on Wednesday April 22, 2015 @11:44AM (#9421240)
> No, Rails isn't great for web socket kinds of things

You're doing the "best tool for the job" thing. But if Rails is not a good tool for the job of web socket programming... then ya kinda have to wonder why they're rolling a web socket thing into Rails core, no?

Re:Existential crisis at Railsconf by tonyarkles on Wednesday April 22, 2015 @05:55PM (#9423835)
What I've done a few times in the past is had a Rails server for the main app, and a node-based socket.io server for the websockets. All the socket.io server does is listen to a redis server and emit events to the right listeners.
Re:Existential crisis at Railsconf by railsbird on Wednesday April 22, 2015 @09:04AM (#9420061)
Agreed. I was fine with Railsconf focus last year of being "rock solid". Rails is still the best at what it does thanks to its community.

However, Rails 5 is moving to a direction that goes against the abstractions and platform it runs on. If I don't care about this, now I have even more code and dependencies in my Rails apps. On the other hand, if that is becoming the sanctioned way of building apps, I would rather do it elsewhere. To me it is a lose-lose situation.

Re:Existential crisis at Railsconf by brodock on Wednesday April 22, 2015 @11:36AM (#9421176)
I'm pretty sure "ActionCable" will be optional, as for example "ActiveResource" were
Re:Existential crisis at Railsconf by knes on Wednesday April 22, 2015 @09:27AM (#9420196)
You could also use hosted solutions such as Pusher, Pubnub or Fanout which plays really well with frameworks