How do i use link_to in order to link to an index controller but listing only those objects with a specific attribu开发者_如何学Pythonte?
link_to 'Widgets', widgets_path, :some_attr => 'meep'
Then, in WidgetsController#index, find_by_some_attr(params['some_attr']).
Of course, if you ask a more specific question you might get a more specific answer.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论