What i have:
A conditional sql request with .where
.where(:users => {:articles => {...}, :settings => {...}, ...})
What i need:
An additional condition, so the id of :users is not equal to @user.id
What i tried:
.where(:users => {['id != ?', @user.id], :articles => {...}, :settings => {...}, ...})
What the problem is:
syntax
What you might try: