Re: [Rails] How can we access current_model (Devise:Here model can be User,Account etc.) method inside AR model?

2018-01-26 Thread Rodrigo Urubatan Ferreira Jardim
om > <https://groups.google.com/d/msgid/rubyonrails-talk/0bc3a8c2-8d47-4cea-b6f0-3cedd760a15c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rodrigo Urubatan Ferreira Jardim uruba...@gmail.com / r

Re: [Rails] Re: Rails Advance query CASE WHEN method not working

2015-07-31 Thread Rodrigo Urubatan Ferreira Jardim
the query is possible you need to show us your schema for a better answer (or at least the parts of the schema that are involved in the question) and I'm having problems understanding what you write, there are no commas, no points, no new lines, ... Rodrigo Urubatan Ferreira Jardim Arch

Re: [Rails] Re: How to Convert mysql query into Rails ORM?

2015-07-31 Thread Rodrigo Urubatan Ferreira Jardim
There is something wrong with your query, your case statement is changing values in a select? AFAIK it should not be working in mysql either Em sex, 31 de jul de 2015 às 13:33, Elizabeth McGurty escreveu: > Message fields user_one and user_two concern me. Before I respond to your > question, wo

[Rails] Re: Best book to learn RoR??

2009-08-04 Thread Rodrigo Urubatan Ferreira Jardim
If you know how to speak portuguese, I suggest my book :D "Desenvolvimento Fácil e Rápido de Aplicações Web<http://livro.urubatan.com.br> " Rodrigo Urubatan Ferreira Jardim rodr...@urubatan.com.br Visite meu blog: http://www.urubatan.com.br Blog em ingles: http://www.urubatan.in