Re: [Rails] How to remove/hide duplicate entry

2012-02-08 Thread Colin Law
On 8 February 2012 08:19, Jade Zallao wrote: > Im currently new in rails and using v 2.3.11 > > I would like to ask if how can I query entries without including their > duplicates? Have a look at the uniq query method. See the Rails Guide on ActiveRecord Query Interface and search for uniq. Col

[Rails] How to remove/hide duplicate entry

2012-02-08 Thread Jade Zallao
Im currently new in rails and using v 2.3.11 I would like to ask if how can I query entries without including their duplicates? class CreatesStudent < ActiveRecord::Migration def self.up create_table :students do |t| t.string :first_name t.string :middle_name t.string :las