1
0
Fork 0
forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Find a file
Matchu 111d4dcaee Fix bug with Arel ordering
Ok so weird little situation, usually Arel will accept an attribute as a param to `order()`, but not when it's in a very specific situation of all of the following:

`Item.joins(:translations).includes(:translations).limit(30).order(Item::Translation.arel_table[:name])`

For some reason, it's all like "hey I can't call `to_sql` on an attribute!", but only in the scenario where all 3 of those other things are present. Weird!

Anyway, explicitly saying `.asc` fixes this. Ok!
2023-08-02 16:29:31 -07:00
app Fix bug with Arel ordering 2023-08-02 16:29:31 -07:00
autotest rspec:install 2010-05-14 18:17:10 -04:00
bin Run rails app:update 2023-08-02 16:18:54 -07:00
config Run rails app:update 2023-08-02 16:18:54 -07:00
db Delete WardrobeTip model 2023-08-02 13:05:30 -07:00
doc rails 3 2010-05-14 18:12:31 -04:00
lib Upgrade to Rails 4.2.11.3 and Ruby 2.4.10 2023-08-02 15:19:23 -07:00
public ignore public/uploads 2015-07-27 13:24:58 -04:00
script rails 3 2010-05-14 18:12:31 -04:00
spec Delete WardrobeTip model 2023-08-02 13:05:30 -07:00
test core of pet loading, still needs get image hash, download assets 2010-10-07 10:46:23 -04:00
tmp utf-8 support in both ruby 1.9 and 1.8 2011-06-04 18:40:15 -04:00
vendor Upgrade web-console 2023-08-02 16:20:50 -07:00
.gitignore Add Vagrantfile for installing Ruby 1.9.3 2023-07-21 17:44:49 -07:00
.ruby-version Upgrade to Rails 4.2.11.3 and Ruby 2.4.10 2023-08-02 15:19:23 -07:00
Capfile move some deploy stuff from files into env 2015-07-17 17:47:58 -04:00
config.ru move async behavior to development_async environment 2010-10-11 18:28:39 -04:00
Gemfile Upgrade web-console 2023-08-02 16:20:50 -07:00
Gemfile.lock Upgrade web-console 2023-08-02 16:20:50 -07:00
LICENSE copy LICENSE from impress repo 2010-07-07 02:34:17 -04:00
Rakefile Uninstall resque 2023-08-02 12:53:56 -07:00
README replace standard rails readme :P 2010-07-07 02:31:47 -04:00
Vagrantfile Upgrade to Rails 4.2.11.3 and Ruby 2.4.10 2023-08-02 15:19:23 -07:00

An extension of Dress to Impress (PHP) that runs on Ruby on Rails.
I wanted to use Rails initially for Impress, but hoped that using
PHP would allow me to attract more developers. Looks like that
wasn't the case, so I just went with what I loved and made the
items database in Rails.

Future Impress sections will likely find themselves in this
project, rather than the PHP project.