Oasist Blog

This blog mainly features Natural Languages, Programming and Life Hacks.

Ruby on Rails

Fight against Polymorphic Associations

Ruby on Rails 目次 Japanese Edition 1. Environment 2. Requirements 3. Tables 3-1. mail_events 3-2. mail_event_sent_to 3-3. offices 3-4. users 4. Relations 4-1. MailEvent 4-2. MailEventSentTo 4-3. Office 4-4. User 5. Troubles 6. Implementat…

Implement Sorting without Ransack

Ruby on Rails 目次 Japanese Edition 1. Environment 2. Requirements 3. Custom Helper 3-1. StudentHelper 3-2. ApplicationHelper 4. Controller 5. View 6. Sort by student_code