3 ms·
I mean, by making some changes to Rails source code, it was possible to get a simple "hello world" to display. Presumably you'd run into more bugs if you tried
by jrochkind1 3y ago
I mean, by making some changes to Rails source code, it was possible to get a simple "hello world" to display.
Presumably you'd run into more bugs if you tried to do more than that.
Rails does have a test suite (hopefully Rails 1.0 had a decent one?) , I guess the interesting experiment would be how much code do you have to change to get Rails 1.0 test suite to pass on ruby 3.3.
Safe to say quite a bit more than for the hello world to run!
- e12e 3y ago> it was possible to get a simple "hello world" to display. That's not really the whole story. It was possible to generate a hello world web application server. Would've been interesting to see if other generators, generated migrations, models, controllers, views and tests worked (scaffolding blog posts and comments).
- jrochkind1 3y agoTrue; the generator for a "hello world" works to generate a "hello world" app that works! It's definitely way less than full support for a real Rails app though!