Re: [Rails] How to parameterize array with activerecord

2015-10-01 Thread Walther Diechmann
Fail to see the use case Faisal - plz elaborate - and keep in mind that Article.where id: [1,2,3,4,5,6,7,8,9,10,11, . . . , 2100] would generate one heck of a parameterized array ;) > Den 02/10/2015 kl. 04.39 skrev Faisal Mansoor : > > Activerecord generates parameterized queries for basic typ

[Rails] How to parameterize array with activerecord

2015-10-01 Thread Faisal Mansoor
Activerecord generates parameterized queries for basic types, but, it does parameterize array types. E.g. Article.where(id: 1) # generates # SELECT "articles".* FROM "articles" WHERE "articles"."id" = $1 [["id", 1]] But, Article.where(id: [1,2]) # generates # SELECT "articles".* FROM "arti

[Rails] New to ruby on rails

2015-10-01 Thread VG
Hi everyone, I have been building websites with wordpress so far due to the number of plugins available to add almost any kind of features to my site. From e-commerce to social networking. I am about to start a new project to do with watching videos, membership feature, subscriptions. I would l

[Rails] Re: any_login gem to help with development

2015-10-01 Thread Igor Kasyanchuk
Hello Guys, For many people asked to add an additional gems to support I've added support for Authlogic gem. Again, configuration is very simple and gems making your life easier. Give it a try https://github.com/i...nchuk/any_login. For others who want me to add other gems please be patient, s

[Rails] Re: any_login - one more way to make your deveplement life easier

2015-10-01 Thread igorkasyanc...@gmail.com
Hello Guys, For many people asked to add an additional gems to support I've added support for *Authlogic* gem. Again, configuration is very simple and gems making your life easier. *Give it a try https://github.com/igorkasyanchuk/any_login*. For others who want me to add other gems please be p

Re: [Rails] Generate Report

2015-10-01 Thread James Jelinek
+1 on this! I’ve used Wicked and it worked out really well. I’ve also used prawn to generate PDF reports as well but I sort of lean towards WickedPDF. > On Oct 1, 2015, at 12:55 PM, Andrey Nering wrote: > > A common solution is generating the report in HTML and converting it to PDF > with th

Re: [Rails] Re: Generate Report

2015-10-01 Thread Andrey Nering
A common solution is generating the report in HTML and converting it to PDF with these gems: https://github.com/mileszs/wicked_pdf https://github.com/zakird/wkhtmltopdf_binary_gem Em qui, 1 de out de 2015 às 13:40, Anthony McDonald escreveu: > Hey Rodney, > > I've been using RoR for a couple mo

[Rails] Re: Postgresql error in connecting to database - invalid response to ssl negotiation

2015-10-01 Thread Biju Angad
error occurs while opening the server postgressql 8.0 "received invalid response to SSL negotiation" -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop recei

[Rails] Re: Generate Report

2015-10-01 Thread Anthony McDonald
Hey Rodney, I've been using RoR for a couple months (still quite green). You should look for a gem to do what you're looking for, start looking at https://rubygems.org/. Onward. On Thursday, October 1, 2015 at 8:07:44 AM UTC-7, Rodney Jan Mandap wrote: > > Hello guys, I'm 100% newbie in RoR.

Re: [Rails] Generate Report

2015-10-01 Thread Walther Diechmann
that’s a nice broad question - so I’ll give you a broad answer (the very MVP with lots of room for optimization) :) (and I’ve probably left one or two BIG mistakes - and my apologies for that) cheers Walther —— here goes: if you by report mean a list of, say accounts, each listing eg. tra

[Rails] Generate Report

2015-10-01 Thread Rodney Jan Mandap
Hello guys, I'm 100% newbie in RoR. I have a question, how can I generate report in RoR like crystal report? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [Rails] Sorcery Activity loggings

2015-10-01 Thread Matt Jones
On Friday, 25 September 2015 10:17:36 UTC-4, Hans wrote: > > Thanks for your replay > However as sorcery is a gem and the update of last_activity_at and last > login_at is made from inside the gem I cannot add the explain command. Here > is some relevant log outputs > > [1m [36mSQL (75.3ms) [0m