[Rails] Javascript call in mail Url

2014-07-31 Thread Raudra
I want to implement a javascript call in callback mail. There is any way to do this .. Answer will be appreciated ,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 receiving emails from it,

[Rails] How to call stored Procedure(mysql) in rails

2014-07-31 Thread Tsolmon Narantsogt
Hello Comrades How to call stored Procedure(mysql) in rails. i'm using rails 3.2 -- 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

Re: [Rails] Javascript call in mail Url

2014-07-31 Thread Colin Law
On 31 July 2014 12:39, Raudra raudra.pra...@strata.co.in wrote: I want to implement a javascript call in callback mail. There is any way to do this .. Can you explain what you mean by 'callback mail'? Colin -- You received this message because you are subscribed to the Google Groups Ruby on

Re: [Rails] How to call stored Procedure(mysql) in rails

2014-07-31 Thread Annapoorna R
@Tsolmon, You can try this ActiveRecord::Base.connection.execute(procedure_name) On Thu, Jul 31, 2014 at 5:51 PM, Tsolmon Narantsogt mnt...@gmail.com wrote: Hello Comrades How to call stored Procedure(mysql) in rails. i'm using rails 3.2 -- You received this message because you are

Re: [Rails] Javascript call in mail Url

2014-07-31 Thread Walter Lee Davis
On Jul 31, 2014, at 8:47 AM, Colin Law wrote: On 31 July 2014 12:39, Raudra raudra.pra...@strata.co.in wrote: I want to implement a javascript call in callback mail. There is any way to do this .. Can you explain what you mean by 'callback mail'? Colin Also, if you expect a JavaScript

Re: [Rails] Variable + string to specify variable

2014-07-31 Thread Rob Biedenharn
On 2014-Jul-30, at 10:59 , Eric Saupe ericsa...@gmail.com wrote: To expand on what Scott is saying here is some code that gives an example of what he is referring to. id = 100 x = rand(1..3) arrays = [Array.new, Array.new, Array.new] selected_array = arrays[x] selected_array.push(id)

[Rails] guides.rubyonrails.org

2014-07-31 Thread Carlo Giustinoni
I have followed the guide for creating the first Rails application 'Blog', I can't get the title : Rails is Awesome nor the Text : It really is to render . Can anyone help ? Thanks -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

Re: [Rails] Variable + string to specify variable

2014-07-31 Thread Eric Saupe
I knew there would be a nice simpler Ruby way. I love the second solution, Rob. Below is the updated example. id = 100 arrays = [Array.new, Array.new, Array.new] arrays.sample.push(id) On Thursday, July 31, 2014 8:45:33 AM UTC-6, Rob Biedenharn wrote: On 2014-Jul-30, at 10:59 , Eric Saupe

Re: [Rails] Variable + string to specify variable

2014-07-31 Thread Scott Ribe
On Jul 31, 2014, at 10:00 AM, Eric Saupe ericsa...@gmail.com wrote: I knew there would be a nice simpler Ruby way. I love the second solution, Rob. Below is the updated example. One tiny note, this is purely a matter of style taste, spelling it out vs concision, but I thought it might be

Re: [Rails] guides.rubyonrails.org

2014-07-31 Thread Norbert Melzer
Show code... Without code Noone can tell Am 31.07.2014 17:27 schrieb Carlo Giustinoni carlo.giustin...@gmail.com: I have followed the guide for creating the first Rails application 'Blog', I can't get the title : Rails is Awesome nor the Text : It really is to render . Can anyone help ?

[Rails] Can somebody explain to me the hype behind using Ruby on Rails to create web apps?

2014-07-31 Thread Jordan Clarke
Hi all, I'm looking to build an online marketplace that's similar to oDesk and Elance where users can post jobs and have freelancers bid on them. The current dilemma I'm in- which programming language do I go for? My decision lies between PHP and Ruby. It might help you to know that I already

Re: [Rails] guides.rubyonrails.org

2014-07-31 Thread Colin Law
On 31 July 2014 17:42, Norbert Melzer timmel...@gmail.com wrote: Show code... Without code Noone can tell And tell us which guide, with link to it if it is online. Colin Am 31.07.2014 17:27 schrieb Carlo Giustinoni carlo.giustin...@gmail.com: I have followed the guide for creating the

Re: [Rails] Can somebody explain to me the hype behind using Ruby on Rails to create web apps?

2014-07-31 Thread Germano Teixeira
As a developer i have no doubt that ruby on rails is better than PHP. I already worked with PHP and now only use Ruby on Rails, the development is faster and easer. But you need to look in the market, hire a php developer is easy and cheap than hire a RoR developer. 2014-07-31 16:18 GMT-03:00

[Rails] Create select with country and also aoutomatically get the state select

2014-07-31 Thread Neetu Vyas
gem to create select for country and state https://t.co/mOh0Oox3ha https://rubygems.org/gems/country_state_select … https://t.co/mOh0Oox3ha -- 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

Re: [Rails] Variable + string to specify variable

2014-07-31 Thread Rob Biedenharn
You can simplify the arrays construction, too: (with slight reformatting of the arrays output) irb2.1.1 arrays = Array.new(3) { Array.new } #2.1.1 = [[], [], []] irb2.1.1 100.times {|id| arrays.sample.push(id) } #2.1.1 = 100 irb2.1.1 arrays #2.1.1 = [[0, 2, 6, 8, 9, 11, 14, 16, 17, 18, 22,

[Rails] Ruby no GoogleAppEngine??

2014-07-31 Thread Jorge Díaz
A copule of days ago tris very old request to Google App Engine was marked with a new label and changed status to Acknowledged. https://code.google.com/p/googleappengine/issues/list?q=label:Language-Ruby Does anyone knows further about this issue? It creates some expectations o Google finally

[Rails] Re: Javascript call in mail Url

2014-07-31 Thread Robert Walker
Walter Davis wrote in post #1153927: On Jul 31, 2014, at 8:47 AM, Colin Law wrote: Also, if you expect a JavaScript to execute in a mail client (Outlook, Gmail, Mail.app) you will be waiting a very long time. That door is bolted securely shut for very good reason. If I'm not mistaken this is

Re: [Rails] Javascript call in mail Url

2014-07-31 Thread Walter Lee Davis
On Jul 31, 2014, at 7:24 PM, Robert Walker wrote: Walter Davis wrote in post #1153927: On Jul 31, 2014, at 8:47 AM, Colin Law wrote: Also, if you expect a JavaScript to execute in a mail client (Outlook, Gmail, Mail.app) you will be waiting a very long time. That door is bolted securely