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.