jquery_query_builder-rails
jquery_query_builder-rails copied to clipboard
The jQuery Query Builder Rule Evaluator and JavaScript library + Dependencies ready for the Rails Asset Pipeline
Including SQL generator from montulli
new 'sql_query' function that will return a raw SQL query. - Uses Rails 'sanitize_sql_for_conditions' to prevent SQL injection. - Adds an 'id_whitelist' to limit searches to just the id fields...
Big feature request I know. :) If this library could build active record scopes based on the filter params it would be god like! Also of interest, generic SQL queries....
Hi @SixiS I was wondering if there is a way to get access to which conditions failed validation vs. only receiving a simple TRUE or FALSE if the passed object...