Relative Content

Tag Archive for ruby-on-rails

Post-hoc testing in TDD recommended?

I have a personal project that doesn’t have robust testing. I had a bit of TDD going on at the beginning, but it quickly became counterproductive as the project details changed dramatically over time. So a lot of previously written tests have become useless.

Rails – Does using partials slow views rendering?

I’m having performance issues on a Rails 3.1.0 application, now I’ve done dome changes on my queries with AR and so but views still takes too many time to render, I’ve divided the views, loops and so, on many partials that are rendered dynamically inside views and inside other partials.

Convention on model names in ruby on rails

I was doing my ER diagram for a rails application I’m about to begin with and there I have an entity called Class News so I’d have a model ClassNew but I don’t know if I will have problems in the future with the New part or what would be the right way to do this o how should I call the model? since the right thing would be ClassNews and the table should be class_news

easiest way for push notifications

I wanted to implement real time push notification to one of the apps written in RoR. I don’t have any experience with nodejs, nowjs, express or socketio.