Skip to content

bayja/make_it_searchable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make It Searchable

간단한 칼럼 filtering, sorting 기능, 아직 마무리 안됨.

Filtering

  ActiveRecordModel.custom_filter({:column_name => "query_string", :another_column => 'another_query_string'})

Sorting

  ActiveRecordModel.custom_order("#{column_name}_asc")
  ActiveRecordModel.custom_order("#{column_name}_desc")

Filtering and Sorting

  ActiveRecordModel.custom_query({:column_name => "query_string"}, "#{column_name}_desc")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages