Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion List View Filter / Scope by Has Many Association

Received: by 10.236.184.134 with SMTP id s6mr147580yhm.1.1337107154605;
        Tue, 15 May 2012 11:39:14 -0700 (PDT)
X-BeenThere: rails_admin@googlegroups.com
Received: by 10.101.39.1 with SMTP id r1ls532748anj.3.gmail; Tue, 15 May 2012
 11:39:14 -0700 (PDT)
Received: by 10.101.39.7 with SMTP id r7mr33247anj.9.1337107153958;
        Tue, 15 May 2012 11:39:13 -0700 (PDT)
Received: by 10.101.39.7 with SMTP id r7mr33246anj.9.1337107153942;
        Tue, 15 May 2012 11:39:13 -0700 (PDT)
Return-Path: <e...@mediavine.com>
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44])
        by gmr-mx.google.com with ESMTPS id y36si22338986yhg.2.2012.05.15.11.39.13
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 15 May 2012 11:39:13 -0700 (PDT)
Received-SPF: pass (google.com: domain of e...@mediavine.com designates 209.85.213.44 as permitted sender) client-ip=209.85.213.44;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of e...@mediavine.com designates 209.85.213.44 as permitted sender) smtp.mail=e...@mediavine.com
Received: by yhq56 with SMTP id 56so5528308yhq.3
        for <rails_admin@googlegroups.com>; Tue, 15 May 2012 11:39:13 -0700 (PDT)
        d=google.com; s=20120113;
        h=from:content-type:content-transfer-encoding:subject:date:message-id
         :to:mime-version:x-mailer:x-gm-message-state;
        bh=49gIsGamG4bvT19JaLPV1aSrzgCrhiAWRGfJ1k0b6SI=;
        b=BI7z8ege5jjyguOqI26HB+Q22LDpOPBmKGs/TBPX08pJIhr2AjFa4Zsd61Ve9TGxlA
         BHUU/PdFLgysSg3wrZj2zAw0AUI1waq0gJEcOkbRvuX+oz9A4x603+HJR9U/AvB1ccdl
         1oEqzj7ZOENWnwnQQ4xxQXg0u9CsnPoEDB1VQ9lsUz9w8JlVvog3fz+6S1X9OyoQIwxp
         7j732IjZlIC01LOrdxaJCfIKRBL6nlIIdC0Djs5EiMiZEkLslR9zb/YTF/VckSCZhhQH
         uXdStdpaf6uaY5I826JBmnvOTr7KXTnnorORSk3EYIWnKPo8eBHeWDYzPWodOv5IcMfh
         Awmg==
Received: by 10.101.106.22 with SMTP id i22mr5243anm.39.1337107153616;
        Tue, 15 May 2012 11:39:13 -0700 (PDT)
Return-Path: <e...@mediavine.com>
Received: from [192.168.1.73] (99-36-248-190.lightspeed.dybhfl.sbcglobal.net. [99.36.248.190])
        by mx.google.com with ESMTPS id i2sm35371571anl.9.2012.05.15.11.39.12
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 15 May 2012 11:39:13 -0700 (PDT)
From: Eric Hochberger <e...@mediavine.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: List View Filter / Scope by Has Many Association
Date: Tue, 15 May 2012 14:39:12 -0400
Message-Id: <E61AE3D8-58B5-47E0-9847-70C6EFF9E...@mediavine.com>
To: rails_admin@googlegroups.com
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQlfN0IUOGf1ZHDQ248QF8YTYZvwkyCxWzvFAO+RxOv9AKRs32KEcXsNg04cBluJzcQvbcrf

Is there anyway to add a filter / scope to only display results in in =
the list view for a has_many association?  It currently gives me =
"undefined method `searchable_columns' for nil:NilClass " if I add :tags =
as a filters [:tags]

My Post has_many :tags :through =3D> :taggings and  I really need the =
ability to allow my users to choose a tag from a drop down and sort that =
way.  Is it possible?


Sincerely,

Eric Hochberger
e...@mediavine.com
@EricTVF

Office:   (954) 519-2181 x 191