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
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
2 matches
Mail list logo