[Rails] Re: new to ruby and trying to minitest

2015-01-22 Thread Justin Cheeze
I've been working on that tutorial but still confused. thanks for reaching out. -- 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 receiving emails from it,

[Rails] Long running page issue

2015-01-22 Thread Rafi A
Hi, I know it is possible to display spinners for long running Ajax calls. Can we display any progress-bar/ spinner over the client side for the long running non-ajax request? Please suggest some way to achieve that. Regards, Seeni Rafiyullah Khan A, -- You received this message because you

Re: [Rails] Re: OSV ON ROR

2015-01-22 Thread Rajandeep Singh
rajan@rajan-pc:~$ cd OSV/OpenStreetView/ rajan@rajan-pc:~/OSV/OpenStreetView$ rake DEPRECATION WARNING: Rake tasks in vendor/plugins/restful_authentication/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.18/lib/tasks/rails.rb:10) rake aborted!

Re: [Rails] new to ruby and trying to minitest

2015-01-22 Thread Colin Law
On 22 January 2015 at 00:20, Justin Cheeze li...@ruby-forum.com wrote: ... I need some hand holding setting up the directory now. what to test, and how to write tests. I'm not looking just to get tests to pass ( I am) but I'm wanting to know what the fuck I'm doing, really. None of this half

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Norbert Melzer
There is no RVM on windows, which we can imply as the OPs system because of .exe fileextension. Am 21.01.2015 12:42 schrieb Colin Law clan...@gmail.com: On 21 January 2015 at 10:27, Lokesh Baxi li...@ruby-forum.com wrote: please i want to install the version ruby1.8.7-p302.exe please help me

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Colin Law
On 22 January 2015 at 09:42, Norbert Melzer timmel...@gmail.com wrote: There is no RVM on windows, which we can imply as the OPs system because of .exe fileextension. I still suggest using rvm. If that is not available on Windows then don't use windows. That is only my suggestion. Others may

Re: [Rails] Re: OSV ON ROR

2015-01-22 Thread Colin Law
On 22 January 2015 at 08:51, Rajandeep Singh rajanbajw...@gmail.com wrote: rajan@rajan-pc:~$ cd OSV/OpenStreetView/ rajan@rajan-pc:~/OSV/OpenStreetView$ rake DEPRECATION WARNING: Rake tasks in vendor/plugins/restful_authentication/tasks are deprecated. Use lib/tasks instead. (called from

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Norbert Melzer
Using Linux plus RVM (or similar) is also my suggestion in most cases. But throwing just RVM to an obvious windowsuser is a little rude I think, if something is not available on the platform in question, one should always suggest to switch platform and then to use the better toolbox over there. Am

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Ganesh Ranganathan
On Thu, Jan 22, 2015 at 3:26 PM, Norbert Melzer timmel...@gmail.com wrote: Using Linux plus RVM (or similar) is also my suggestion in most cases. But throwing just RVM to an obvious windowsuser is a little rude I think, if something is not available on the platform in question, one should

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Colin Law
On 22 January 2015 at 09:56, Norbert Melzer timmel...@gmail.com wrote: Using Linux plus RVM (or similar) is also my suggestion in most cases. But throwing just RVM to an obvious windowsuser is a little rude I think, if something is not available on the platform in question, one should always

[Rails] Re: new to ruby and trying to minitest

2015-01-22 Thread Justin Cheeze
ok, I will. thanks again for reaching out. it's appreciated. -- 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 receiving emails from it, send an email to

Re: [Rails] Re: new to ruby and trying to minitest

2015-01-22 Thread Colin Law
On 22 January 2015 at 12:33, Justin Cheeze li...@ruby-forum.com wrote: I've been working on that tutorial but still confused. thanks for reaching out. Where on the tutorial are you confused? Colin -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

Re: [Rails] mysql2 gem in gem list but getting project can not find gem

2015-01-22 Thread Hassan Schroeder
On Thu, Jan 22, 2015 at 7:22 AM, Beckah Zz li...@ruby-forum.com wrote: I am currently building a RoR project that requires the mysql2 gem. I successfully installed the gem. Because it is showing up in my gem list. However I am getting the following error when I try to start my project: Could

Re: [Rails] Re: new to ruby and trying to minitest

2015-01-22 Thread Colin Law
On 22 January 2015 at 16:15, Justin Cheeze li...@ruby-forum.com wrote: control flow. learning how to think. like, obviously I know exactly what this test is doing test should get show do get :show assert_response :success end however, when doing other testing on another application

[Rails] Re: mysql2 gem in gem list but getting project can not find gem

2015-01-22 Thread Andrey Nering
Did you try to run bundle install or bundle update? Em quinta-feira, 22 de janeiro de 2015 13:23:01 UTC-2, Ruby-Forum.com User escreveu: I am currently building a RoR project that requires the mysql2 gem. I successfully installed the gem. Because it is showing up in my gem list. However I

[Rails] Re: new to ruby and trying to minitest

2015-01-22 Thread Justin Cheeze
control flow. learning how to think. like, obviously I know exactly what this test is doing test should get show do get :show assert_response :success end however, when doing other testing on another application to help hone my craft, I have no idea what the heels I'm doing. thanks for

[Rails] mysql2 gem in gem list but getting project can not find gem

2015-01-22 Thread Beckah Zz
I am currently building a RoR project that requires the mysql2 gem. I successfully installed the gem. Because it is showing up in my gem list. However I am getting the following error when I try to start my project: Could not find gem 'mysql2 (= 0.3.17) ruby' in the gems available on this

[Rails] Content Compression via Rack::Deflater,Rails and Ngnix

2015-01-22 Thread kingston.s
I have followed this content-compression-with-rack-deflater http://robots.thoughtbot.com/content-compression-with-rack-deflater. In my ngnix.conf gzip on; gzip_http_version 1.0; gzip_proxied any; # See http://wiki.nginx.org/NginxHttpGzipModule#gzip_types # This

[Rails] Finish Ruby command BEFORE moving on to the next

2015-01-22 Thread Jason Hsu, Rubyist
THE EASY PART: I have four Ruby commands in a Ruby script that need to be executed in the following order: 1. long_command1 2. long_command2 3. long_command3 4. long_command4 THE HARD PART: How do I make sure that the Ruby script finishes one command before moving on to the next one?

Re: [Rails] Omniauth provider error in devise

2015-01-22 Thread Deepak Sharma
On Fri, Jan 23, 2015 at 2:27 AM, Colin Law clan...@gmail.com wrote: It is generally better to copy/paste errors from the server window rather than use a screenshot. In this case it would have made it easier for me to point out the error. Sorry for that, will take care for next time. There

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Frederick Cheung
On Thursday, January 22, 2015 at 9:50:36 AM UTC, Colin Law wrote: On 22 January 2015 at 09:42, Norbert Melzer timmel...@gmail.com wrote: There is no RVM on windows, which we can imply as the OPs system because of .exe fileextension. I still suggest using rvm. If that is not

[Rails] Omniauth provider error in devise

2015-01-22 Thread Deepak Sharma
I'm trying to add omniauth functionality in my app. For authentication I'm using devise This is what I'm doing # GemFile gem 'omniauth' gem 'omniauth-github', '~ 1.1.2' # Devise.rb config.omniauth :github, 'ID', 'Secret key' # User.rb devise :database_authenticatable, :registerable,

Re: [Rails] Omniauth provider error in devise

2015-01-22 Thread Colin Law
On 22 January 2015 at 20:16, Deepak Sharma deeky.sha...@gmail.com wrote: I'm trying to add omniauth functionality in my app. For authentication I'm using devise This is what I'm doing # GemFile gem 'omniauth' gem 'omniauth-github', '~ 1.1.2' # Devise.rb config.omniauth :github, 'ID',

[Rails] Relationship issues....

2015-01-22 Thread pruchai
Rails relationships that is [image: :)] I am doing something wrong, and can't figure out what and where. I have 3 models - Command, Contact, and a joined CommandsContact via has_many through relationship, because commands_contacts table holds an extra column - notification_type, which

Re: [Rails] Finish Ruby command BEFORE moving on to the next

2015-01-22 Thread Vivek Sampara
Correct me if im not wrong as long as its running on a single thread, there should be no confusion in terms of sequence. Just run them in sequence and they should work fine. long_command1 long_command2 long_command3 long_command4 The only cache is if all the commands are running in a single