Posts by Lucas Alvine • 47 points
2 posts
-
2
votes1
answer41
viewsQ: Rails - Relationship BD
I have a table user, where I have a mandatory field cidade, and I have a table contatos (that is belongs_to: user), but the form does not have the field cidade which is mandatory to user. How do I…
-
1
votes0
answers46
viewsQ: How to use senitize_sql_like together with ilike
I’m having trouble using the senitize_sql_like, along with the ilike. When I use it, the query is not returning the expected value, it follows the implementation used: scope :brand_name_by_content,…