[Rails] Reg: Heroku sending mails from Rails App

2016-02-24 Thread VIDYA SAGAR POGIRI
Hi I deployed one small app in heroku built on ROR , now i want to send mails .How is it possible can anyone give me a details how to do it thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop re

[Rails] Re: card reader or bar code reader in rails URGENT HELP

2016-02-24 Thread Ailsa Leng
felip...@gmail.com wrote in post #651378: > When the cursor is on the form field register_no, the user should > "swipe" the card. This will fill the field with the code from the > card. This is totally transparent to your Rails application, since not > even the browser knows that data is coming fro

Re: [Rails] Inconsistent result of #sum

2016-02-24 Thread Rob Biedenharn
> On 2016-Feb-23, at 20:34 , Mengxi Liao wrote: > > For some reason the following two queries return different results > > Where there is only one activity record and price is 3.63 and quantity is > 16.19, the following codes return results of different rounding. > > sum("CEIL(`activities`.qu

[Rails] Inconsistent result of #sum

2016-02-24 Thread Mengxi Liao
For some reason the following two queries return different results Where there is only one activity record and price is 3.63 and quantity is 16.19, the following codes return results of different rounding. sum("CEIL(`activities`.quantity/60) * 60 / 3600 * `activities`.price").to_s "58.81" sum(

[Rails] Re: Ruby on Rails- HTML5 Video as background for landing page not loading on heroku

2016-02-24 Thread Kranthi Kumar
Justin Yoon wrote in post #1181553: >> But changing "config.assets.compile" to true in production.rb file have >> any affect on my application? > > Found this StackOverflow page that talks about this: > http://stackoverflow.com/questions/8821864/config-assets-compile-true-in-rails-production-why-no

[Rails] ActiveResource and HTTP2

2016-02-24 Thread Zdravko Balorda
Hi, would/could ActiveResorce make use of HTTP2 sending just requests over and over again after making a connection to a server. This should save a lot of time. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails

Re: [Rails] Schedule tasks

2016-02-24 Thread Gm
Sorry Colin, Actually I need help about how can I run a background job. This job needs to listen all events registered in database and send an email when the dates match. I'm found clockwork gem as an option to do this. I have to create a worker that runs every minute and verifies if current da

Re: [Rails] Schedule tasks

2016-02-24 Thread Colin Law
On 24 February 2016 at 16:38, Gm wrote: > Hi, > > I need some help to schedule some tasks. > I have a database table with a column called: start > > I need to send an email and update a column at that start date. > How can I iterate my database table, verify if today has some tasks to be > execute

[Rails] PostgreSQL setup for Rails@Ubuntu

2016-02-24 Thread krfg
For long term stability, I suppose I may take for granted that the LTS Ubuntu version of PostgreSQL would be better then installing through the PostgreSQL apt repository. The documentation I found on post installation setup suggests that configuration may not be so diffucult. Nevertheless I hav

[Rails] Schedule tasks

2016-02-24 Thread Gm
Hi, I need some help to schedule some tasks. I have a database table with a column called: start I need to send an email and update a column at that start date. How can I iterate my database table, verify if today has some tasks to be executed and send an email. Thanks. -- You received this m

[Rails] Re: Rails 4 Query on Association using Includes

2016-02-24 Thread mikej
I never worked this out, but you can use joins instead of includes as a work around. -- 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 to rubyonrails-talk+uns