Categories
Ruby On Rails

Old rails project with gem install errors :/

One does not simply “gem install thin -v 1.5.1” on new Macs, when the project depends on ruby 2.5.7..

Continue reading

Categories
Ruby On Rails

IE + iframe + cookies

After spending lots of hours building a system for a client, using Ruby on Rails, everything was deployed and worked perfect… until IE came along that is. The customer had iframed the project into their current website, and since the user had to sign in to the new project using an iframe, IE began to […]

Continue reading

Categories
Ruby On Rails

Using rails and respond_to to include nested data

I want to display data from a nested table in my XML output using respond_to. I searched google a bit and it seems :include was the way to go. However I had some problems getting this to work properly. I have two models (customer and user) that are linked together. When I fetch the data for a […]

Continue reading