Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

The author might want to do a search and replace. I saw at least one reference to Rails 5 in the website.


sort by: page size:

> Because if this Rails 5.0 will be released for Ruby [...]

I guess there's a typo: s/if/of


In case this is the first time you hear of Rails 5 and wonder what's new, this post sums it up: http://weblog.rubyonrails.org/2015/12/18/Rails-5-0-beta1/

Why did you change the title to include "Rails"?

tl;dr: Author has hurdle updating app to Rails 3, so Rails has now jumped the shark.

hmm it says 2007 so i'm gonna say that it's not rails 2, which means it could be not very pertinent.

As of Rails 4, the current release if Rails, you're incorrect.


It looks like it specifically focuses on Rails 3. The requirements in Chapter 1 state:

"Ruby on Rails. This beta book was written using Rails version 3 (specifically Rails 3.0.0.beta3 at the current time)."


I believe Rails5 will require Ruby 2.2.x (which does garbage collection on symbols).

Rails 3.8 ?

Co-Author here: I'm part of the team that is helping write The Rails 4 Way. Just to address your concerns, we have gone through the existing manuscript and removed everything that isn't best practice today. On top of that, we are covering all the new Rails 4 features, and important gems/techniques valuable to a Rails developer today. The second half of the book is going through a big revamp right now. Look for updates in the coming weeks.

Then the rails example on the main page is wrong.

Ah that's it. I'm going through mhartl's Ruby on Rails Tutorial and he has us specify a Rails version to maintain consistency btw the tutorial and our code.

Thanks!


And the Rails Tutorial book (http://www.railstutorial.org/) has again been updated:

  s/2\.3\.6/2\.3\.7/
I hope this doesn't start happening every day. :-)

I think you’re making the classic mistake of confusing Ruby with Rails.

Maybe a typo? A search for 'ruby rails stimulus' brought me right back to the root comment. About to listen to the podcast. Will report back if I learn anything.

I think this is the author's take on that: https://solnic.codes/2022/02/02/rails-is-not-written-in-ruby...

Not sure this is what you're getting at. I agree with the author though, this aspect of Rails bothered me quite a bit. Knowing that working on a Rails project meant I could magically generate ranges from dates because of ActiveSupport was unsettling - it made me wonder what else was non-native behaviour and waiting to trip me.


It ought to mention this somewhere, no? Otherwise I suspect some people might feel they'd wasted 5 hours learning a possibly-soon-to-be-outdated technology. (This would be less important for Rails, say, where the changes between 4 and the next major release - or even between 3 and 4 - would be less drastic.)

next

Legal | privacy