Ruby on Rails
Saturday, November 19, 2016
On my Nvidia jetson tx1 development board (arm64 architecture, ubuntu 16.04), when I upgrade ruby to 2.3.2, the ActiveRecord's order method is break:
-- In fact, after I test, This bug is present in several development boards(Their environment are both rails 5.0.01, ruby 2.3.2, postgresql 9.5):
2.3.0 :004 > a = User.order :created_at
(Object doesn't support #inspect)
=>
2.3.0 :005 > a.count
NoMethodError: undefined method `blank?' for #Arel::Nodes::Ascending:0x3080cb8
Both armhf and arm64 system has this problem. In order to solove this problem I can only downgrade the ruby version to 2.3.1. anybody can help me? thanks.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/88441337-dd0e-4607-b651-d64d05fe9693%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment