Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread Colin Law
On 6 January 2014 06:54, M,Gopi M.gopinath gopi170...@gmail.com wrote:
 Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
 extension.

 /home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
 Extracting libxml2-2.8.0.tar.gz into
 tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
 Running 'configure' for libxml2 2.8.0... OK
 Running 'compile' for libxml2 2.8.0... ERROR, review
 'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log' to see what happened.

Did you look there for any error messages?

 *** extconf.rb failed ***
 Could not create Makefile due to some reason, probably lack of necessary
 libraries and/or headers.  Check the mkmf.log file for more details.  You

And there?

Colin

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt%3DpcvvEfWwa7wyU-bTKM3ZqafZv8nRdR91FU0KK7icXA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread M,Gopi M.gopinath
Yes , I found the below error

 *** extconf.rb failed ***
 Could not create Makefile due to some reason, probably lack of necessary
 libraries and/or headers.  Check the mkmf.log file for more details.  You

Best Regards,

*Gopinath M*

Ruby on Rails Developer

Contact : +91-9994652146

Skype Id : gopinath.murugan

Email : gopi170...@gmail.com






On Mon, Jan 6, 2014 at 2:43 PM, Colin Law clan...@gmail.com wrote:

 On 6 January 2014 06:54, M,Gopi M.gopinath gopi170...@gmail.com wrote:
  Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
  extension.
 
  /home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
  Extracting libxml2-2.8.0.tar.gz into
  tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
  Running 'configure' for libxml2 2.8.0... OK
  Running 'compile' for libxml2 2.8.0... ERROR, review
  'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log' to see what
 happened.

 Did you look there for any error messages?

  *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of necessary
  libraries and/or headers.  Check the mkmf.log file for more details.  You

 And there?

 Colin

 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt%3DpcvvEfWwa7wyU-bTKM3ZqafZv8nRdR91FU0KK7icXA%40mail.gmail.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEix%2BoY0fgyUzWP-7M%2B%3DcUFz1ZzqqnCRd%2BUQB_FmqGHcomDw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] We are Hiring for ROR Lead

2014-01-06 Thread Swaran Jit
Experience: 7 to 9 years

Should have implemented and worked on projects with ROR
Exposure to working with HTML, CSS, Javascript, Ajax.
Should have experience working with Webservices.
Should have experience working with Drupal/Joomla.
Hands on experience in Object oriented programming and Design.
Proficient in MySQL database and RDBMS concepts.
Good Communication Skills.

For further information, feel free to contact Priyanka Arora, HR
Executive (0172-3292221) Email - priya...@talentpooltechnologies.com

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/888fed9bee7fc9caab2cbabe0ab14b79%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Working with JavaScript

2014-01-06 Thread James Turley
As Walter says, Coffeescript by default compiles to javascript like this:

(function() {

// your code here...

}).call(this);

This creates a closure: code within it can only be accessed by other code
within it by default. In addition to Walter's ideas, you could:

1) define paintIt as window.paintIt, which will force the function into the
global scope, so it can be accessed anywhere. This is not ideal, as already
discussed.

2) Use JQuery or a similar library (JQuery is in your standard Rails
project gemfile) to add a listener. It would be something like this:

paintIt = (element, backgroundColor, textColor) -
  element.style.backgroundColor = backgroundColor
  if textColor?
element.style.color = textColor

$('#paintRed').click -
  paintIt(this, '#99')

a id=paintRedPaint it red!/a

The data attribute solution is the way to go for anything more than a few
links, however. You may nonetheless be able to reduce boilerplate by using
JQuery to make listeners.


On Sun, Jan 5, 2014 at 4:56 PM, Walter Lee Davis wa...@wdstudio.com wrote:

 What does your JavaScript console say? Is the compiled JS in the page
 before the link appears to call it? Is the CS-generated JS wrapped in a
 closure of some sort? (I'm thinking here that your function may not be in
 the global scope.)

 It's much better practice to establish listeners in your script, and
 invoke them lazily, rather than writing inline (so-called DOM Level 0)
 scripts in your page code.

 Consider this (which you must add at the very end of the page code, not
 the beginning):

 document.addEventListener('click', evt){
 if(this.tagName == 'A'){
 if(this.readAttribute('data-paint')){
 this.style.backgroundColor =
 this.readAttribute('data-paint');
 }
 }
 });

 That would interact with this HTML:

 a href=# data-paint=#99Paint it red/a

 You could extend this pattern by adding a data-text-color attribute, and
 add a handler for that in the one function body. There's probably little
 difference in following this pattern versus your example when there's a few
 links on the page, but if there were thousands, this method would be
 measurably faster to load and evaluate.

 Walter

 On Jan 5, 2014, at 11:07 AM, izik shapira wrote:

  Hi,
  I turn this code into CoffeeScript:
 
  paintIt = (element, backgroundColor, textColor) -
   element.style.backgroundColor = backgroundColor
   if textColor?
 element.style.color = textColor
 
  and this code I turn to html.rb
 
  a href=# onclick=paintIt(this, '#99')Paint it red/a
 
  it not worked fine, I see the link but it's not Paint it red!
 
  What Did I Do Wrong?
 
  thank, Izik
 
  --
  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 rubyonrails-talk+unsubscr...@googlegroups.com.
  To post to this group, send email to rubyonrails-talk@googlegroups.com.
  To view this discussion on the web visit
 https://groups.google.com/d/msgid/rubyonrails-talk/1a13b315775cf3863839abaaded7306f%40ruby-forum.com
 .
  For more options, visit https://groups.google.com/groups/opt_out.

 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/rubyonrails-talk/F1B1FA98-9C03-49F3-9E3B-08F724FAA610%40wdstudio.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAAb4X%3DwsaBOnKvs2d5H_vt2Rt-3K0Dj-E-E0CJY%3DhESZ-aUhHg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Is find() a class method or instance method?

2014-01-06 Thread Frederick Cheung

On Monday, January 6, 2014 7:53:22 AM UTC, Ruby-Forum.com User wrote:


 I came across this code snippet from my reading: 


 require 'active_record' 

 class Order  ActiveRecord::Base 
 end 

 order = Order.find(1) 
 ... 

 Looking at: http://api.rubyonrails.org/ and search for find(), find() is 
 an instance public method. So why can we call Order.find(1) here? 
 Shouldn't it be Order.new.find(1)? 


No, because although it is a public instance method, it's a public instance 
method of ActiveRecord::Relation, not of ActiveRecord::Base. ActiveRecord 
delegates the find method (and the other querying type methods such as 
where, first, all etc.) to an instance of this

Fred 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ede8e45b-05cd-4a3d-9cf7-ccec9aba52c0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread Colin Law
On 6 January 2014 09:30, M,Gopi M.gopinath gopi170...@gmail.com wrote:

Please don't top post, it makes it difficult to follow the thread.
Insert your reply at appropriate points in previous message.  Thanks

 Yes , I found the below error

  *** extconf.rb failed ***
 Could not create Makefile due to some reason, probably lack of necessary
 libraries and/or headers.  Check the mkmf.log file for more details.  You

And in mkmf.log?

Also which operating system are you using?

Colin


 Best Regards,

 Gopinath M

 Ruby on Rails Developer

 Contact : +91-9994652146

 Skype Id : gopinath.murugan

 Email : gopi170...@gmail.com






 On Mon, Jan 6, 2014 at 2:43 PM, Colin Law clan...@gmail.com wrote:

 On 6 January 2014 06:54, M,Gopi M.gopinath gopi170...@gmail.com wrote:
  Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
  extension.
 
  /home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
  Extracting libxml2-2.8.0.tar.gz into
  tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
  Running 'configure' for libxml2 2.8.0... OK
  Running 'compile' for libxml2 2.8.0... ERROR, review
  'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log' to see what
  happened.

 Did you look there for any error messages?

  *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of necessary
  libraries and/or headers.  Check the mkmf.log file for more details.
  You

 And there?

 Colin

 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt%3DpcvvEfWwa7wyU-bTKM3ZqafZv8nRdR91FU0KK7icXA%40mail.gmail.com.

 For more options, visit https://groups.google.com/groups/opt_out.


 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEix%2BoY0fgyUzWP-7M%2B%3DcUFz1ZzqqnCRd%2BUQB_FmqGHcomDw%40mail.gmail.com.

 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvN-5VLj%3DJyUAt1QH%3DtHX0VZwwqrR7_a%3DamnnpqwEu2%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread Frederick Cheung


On Monday, January 6, 2014 9:30:51 AM UTC, M,Gopi M.gopinath wrote:

 Yes , I found the below error

  *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of necessary
  libraries and/or headers.  Check the mkmf.log file for more details.  You


So what's in mkmf.log?

Fred 




-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/9f5e86c1-9690-4c5d-9bbe-d6661d6de21d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread James Turley
When I've had this problem, it's been fixed by installing the relevant dev
libraries - libxml2-dev and libxslt-dev. How you do that depends on OS,
etc. On Ubuntu, just sudo apt-get install them.


On Mon, Jan 6, 2014 at 10:04 AM, Colin Law clan...@gmail.com wrote:

 On 6 January 2014 09:30, M,Gopi M.gopinath gopi170...@gmail.com wrote:

 Please don't top post, it makes it difficult to follow the thread.
 Insert your reply at appropriate points in previous message.  Thanks

  Yes , I found the below error
 
   *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of necessary
  libraries and/or headers.  Check the mkmf.log file for more details.
  You

 And in mkmf.log?

 Also which operating system are you using?

 Colin

 
  Best Regards,
 
  Gopinath M
 
  Ruby on Rails Developer
 
  Contact : +91-9994652146
 
  Skype Id : gopinath.murugan
 
  Email : gopi170...@gmail.com
 
 
 
 
 
 
  On Mon, Jan 6, 2014 at 2:43 PM, Colin Law clan...@gmail.com wrote:
 
  On 6 January 2014 06:54, M,Gopi M.gopinath gopi170...@gmail.com
 wrote:
   Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
   extension.
  
   /home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
   Extracting libxml2-2.8.0.tar.gz into
   tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
   Running 'configure' for libxml2 2.8.0... OK
   Running 'compile' for libxml2 2.8.0... ERROR, review
   'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log' to see what
   happened.
 
  Did you look there for any error messages?
 
   *** extconf.rb failed ***
   Could not create Makefile due to some reason, probably lack of
 necessary
   libraries and/or headers.  Check the mkmf.log file for more details.
   You
 
  And there?
 
  Colin
 
  --
  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+unsubscr...@googlegroups.com.
  To post to this group, send email to rubyonrails-talk@googlegroups.com.
  To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt%3DpcvvEfWwa7wyU-bTKM3ZqafZv8nRdR91FU0KK7icXA%40mail.gmail.com
 .
 
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
  --
  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+unsubscr...@googlegroups.com.
  To post to this group, send email to rubyonrails-talk@googlegroups.com.
  To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEix%2BoY0fgyUzWP-7M%2B%3DcUFz1ZzqqnCRd%2BUQB_FmqGHcomDw%40mail.gmail.com
 .
 
  For more options, visit https://groups.google.com/groups/opt_out.

 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvN-5VLj%3DJyUAt1QH%3DtHX0VZwwqrR7_a%3DamnnpqwEu2%2BA%40mail.gmail.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAAb4X%3DworTDQu-Yf%2BU9-7FEFLLMxyXh%3DSmnQ%3Ds78VhqTt5hfig%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread M,Gopi M.gopinath
Hi, 

   Thanks for ur reply, I have installed the dependencies but still i 
have the same issue

Best Regards,

Gopinath

On Monday, January 6, 2014 3:38:02 PM UTC+5:30, James Turley wrote:

 When I've had this problem, it's been fixed by installing the relevant dev 
 libraries - libxml2-dev and libxslt-dev. How you do that depends on OS, 
 etc. On Ubuntu, just sudo apt-get install them.


 On Mon, Jan 6, 2014 at 10:04 AM, Colin Law cla...@gmail.com javascript:
  wrote:

 On 6 January 2014 09:30, M,Gopi M.gopinath gopi1...@gmail.comjavascript: 
 wrote:

 Please don't top post, it makes it difficult to follow the thread.
 Insert your reply at appropriate points in previous message.  Thanks

  Yes , I found the below error
 
   *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of 
 necessary
  libraries and/or headers.  Check the mkmf.log file for more details. 
  You

 And in mkmf.log?

 Also which operating system are you using?

 Colin

 
  Best Regards,
 
  Gopinath M
 
  Ruby on Rails Developer
 
  Contact : +91-9994652146
 
  Skype Id : gopinath.murugan
 
  Email : gopi1...@gmail.com javascript:
 
 
 
 
 
 
  On Mon, Jan 6, 2014 at 2:43 PM, Colin Law cla...@gmail.comjavascript: 
 wrote:
 
  On 6 January 2014 06:54, M,Gopi M.gopinath 
  gopi1...@gmail.comjavascript: 
 wrote:
   Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem 
 native
   extension.
  
   /home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
   Extracting libxml2-2.8.0.tar.gz into
   tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
   Running 'configure' for libxml2 2.8.0... OK
   Running 'compile' for libxml2 2.8.0... ERROR, review
   'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log' to see what
   happened.
 
  Did you look there for any error messages?
 
   *** extconf.rb failed ***
   Could not create Makefile due to some reason, probably lack of 
 necessary
   libraries and/or headers.  Check the mkmf.log file for more details.
   You
 
  And there?
 
  Colin
 
  --
  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-ta...@googlegroups.com javascript:.
  To post to this group, send email to 
  rubyonra...@googlegroups.comjavascript:
 .
  To view this discussion on the web visit
  
 https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt%3DpcvvEfWwa7wyU-bTKM3ZqafZv8nRdR91FU0KK7icXA%40mail.gmail.com
 .
 
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
  --
  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-ta...@googlegroups.com javascript:.
  To post to this group, send email to 
  rubyonra...@googlegroups.comjavascript:
 .
  To view this discussion on the web visit
  
 https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEix%2BoY0fgyUzWP-7M%2B%3DcUFz1ZzqqnCRd%2BUQB_FmqGHcomDw%40mail.gmail.com
 .
 
  For more options, visit https://groups.google.com/groups/opt_out.

 --
 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-ta...@googlegroups.com javascript:.
 To post to this group, send email to 
 rubyonra...@googlegroups.comjavascript:
 .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvN-5VLj%3DJyUAt1QH%3DtHX0VZwwqrR7_a%3DamnnpqwEu2%2BA%40mail.gmail.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/298d3dab-e85a-4724-9bb4-fc9157b64863%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Bundle Installing nokogiri - ruby 2.0.0 gives error

2014-01-06 Thread Colin Law
On 6 January 2014 10:13, M,Gopi M.gopinath gopi170...@gmail.com wrote:
 Hi,

Thanks for ur reply, I have installed the dependencies but still i
 have the same issue

You are still top posting and have still not told us if there is
anything in mkmf.log.

Sometimes getting information is like getting the proverbial blood out
of a stone.

Also is the error message /exactly/ the same after installing the
additional dependencies?

Colin

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsa1faXt-zhvQF1XbqNL3bWcFVXQ2uF1pXAztgvE9HvKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] SSL with Thin Server

2014-01-06 Thread Avi
Hello All, 

My Project consists of :-
Rails - 3.2.8
Ruby - 1.9.8
Server - Thin
 Devise - 2.1.2

I have added force_ssl in ApplicationController.
Then thin start --ssl.
It took me to https, but with red cross. Not trusted site.

I tried with creating the certificate with - 
http://www.napcsweb.com/blog/2013/07/21/rails_ssl_simple_wa/

Still the same.

Can anyone suggest? Do we need to buy ssl?

Thanks,
Avinash

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/45b4f560-6e37-42f3-bf76-913f0b773143%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] submit form with file upload + cross domain

2014-01-06 Thread Walter Lee Davis
Only if you configure CORS, which usually means you have control over both 
servers. Do you?

Walter

On Jan 6, 2014, at 1:17 AM, saravanan p wrote:

 File upload + Cross domain + Response
 
 Is there anyway to upload file from one domain to another domain.
 
 i used ajax post method to submit the form but i am not getting response 
 value. 
 
 please suggest someway to solve this problem.
 
 Thanks in advance! 
 
 
 On Fri, Jan 3, 2014 at 12:46 PM, saravanan p psaravanan11.ra...@gmail.com 
 wrote:
 I am trying to submit a form in rails 4 with File upload(using paperclip) to 
 an another domain using Ajax with dataType 'jsonp' ( I tried both ajax and 
 ajaxForm ).
 
 // .js
 $(.form).ajaxSubmit({
   type: $(.form).attr(method),
   dataType: jsonp,
   url: $(.form).attr(action),
   data: $(.form).serialize(),
   success: function(data) {
 console.log('respone');
 console.log(data);
   }
 }); 
 
 
 I am getting the following error message.
 
 Can't verify CSRF token authenticity
 Completed 422 Unprocessable Entity in 26ms
 
 ActionController::InvalidAuthenticityToken 
 (ActionController::InvalidAuthenticityToken):
 
 I can save data when i am not attach any file. 
 
 I got one solution, 
 
 skip_before_filter :verify_authenticity_token  
 
 I can save data by skipping verify authentication token. But I think this is 
 not a secure way.
 
 Can any one know a secure way? any suggestion please!
 
 Note: I am getting all the params values in the destination domain.
 
 -- 
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/f448292b-aa47-4412-9ecf-19de71947764%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 
 -- 
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/CAOxyzk0Fx39RR%2B%2BbVSSrL-yh5d3xXbtkWsM1HtL0fOJUvN-K-w%40mail.gmail.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/3D6A107C-79C5-4B31-B7FD-1D6A66C453BB%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] submit form with file upload + cross domain

2014-01-06 Thread Walter Lee Davis
Now you can fake an Ajax file upload with a hidden iframe, that's been 
popular since forever. It is a pain in the ass to get the response from the 
server to refresh the actual page, though.

Walter

On Jan 6, 2014, at 1:17 AM, saravanan p wrote:

 File upload + Cross domain + Response
 
 Is there anyway to upload file from one domain to another domain.
 
 i used ajax post method to submit the form but i am not getting response 
 value. 
 
 please suggest someway to solve this problem.
 
 Thanks in advance! 
 
 
 On Fri, Jan 3, 2014 at 12:46 PM, saravanan p psaravanan11.ra...@gmail.com 
 wrote:
 I am trying to submit a form in rails 4 with File upload(using paperclip) to 
 an another domain using Ajax with dataType 'jsonp' ( I tried both ajax and 
 ajaxForm ).
 
 // .js
 $(.form).ajaxSubmit({
   type: $(.form).attr(method),
   dataType: jsonp,
   url: $(.form).attr(action),
   data: $(.form).serialize(),
   success: function(data) {
 console.log('respone');
 console.log(data);
   }
 }); 
 
 
 I am getting the following error message.
 
 Can't verify CSRF token authenticity
 Completed 422 Unprocessable Entity in 26ms
 
 ActionController::InvalidAuthenticityToken 
 (ActionController::InvalidAuthenticityToken):
 
 I can save data when i am not attach any file. 
 
 I got one solution, 
 
 skip_before_filter :verify_authenticity_token  
 
 I can save data by skipping verify authentication token. But I think this is 
 not a secure way.
 
 Can any one know a secure way? any suggestion please!
 
 Note: I am getting all the params values in the destination domain.
 
 -- 
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/f448292b-aa47-4412-9ecf-19de71947764%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 
 -- 
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/CAOxyzk0Fx39RR%2B%2BbVSSrL-yh5d3xXbtkWsM1HtL0fOJUvN-K-w%40mail.gmail.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/88E50896-3F6F-43EE-950B-E6AD32F58EF5%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] SSL with Thin Server

2014-01-06 Thread Jordon Bedwell
On Mon, Jan 6, 2014 at 5:18 AM, Avi aavinash.beh...@gmail.com wrote:
 Can anyone suggest? Do we need to buy ssl?

Yes, unless you trust your own certificate or create your own
authority and trust it.  For development an untrusted local
certificate is just fine, for the public (even though now days it
might be worthless) you'll need another authority to sign your
certificate for it to gain trust because that's the way things are
right now.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnzRPCedjd08hZ6x5LcLqETh_JL_nnjPUbCF4Nq8Edm9FA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Problems testing a destroy failure

2014-01-06 Thread Clem Rock
Walter - thanks for getting back to me on this.

First of all, I should have made this more clear - the delete action is 
in the controller, not the model and the @payment_info model object is 
using the destroy method.

To me, this method seems to be as straight forward as possible - you 
attempt to destroy a verified active record object and if the destroy is 
successful, then redirect to the the new action, if it fails display the 
error and redirect to the edit method.   I don't see a logic problem 
anywhere in this method so I'm not a big fan of trying to change the 
method just to satisfy testing.

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f44747b8a43b50ff9f0e7c93287f60cc%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Rails] Problems testing a destroy failure

2014-01-06 Thread Walter Lee Davis

On Jan 6, 2014, at 10:56 AM, Clem Rock wrote:

 Walter - thanks for getting back to me on this.
 
 First of all, I should have made this more clear - the delete action is 
 in the controller, not the model and the @payment_info model object is 
 using the destroy method.
 
 To me, this method seems to be as straight forward as possible - you 
 attempt to destroy a verified active record object and if the destroy is 
 successful, then redirect to the the new action, if it fails display the 
 error and redirect to the edit method.   I don't see a logic problem 
 anywhere in this method so I'm not a big fan of trying to change the 
 method just to satisfy testing.

I'm hardly an expert here. I looked in a simple site I did a while back using 
scaffold, since I don't have my Rails 4 legs under me yet, and scaffold maps 
the DELETE REST method to YourController::destroy. If you're using the generic 
routing, then the DELETE request will go to destroy. Apologies if your routes 
are not the same as mine, and you've already ruled this out.

Walter

 
 -- 
 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 rubyonrails-talk+unsubscr...@googlegroups.com.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/rubyonrails-talk/f44747b8a43b50ff9f0e7c93287f60cc%40ruby-forum.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/DF3B0E10-C88E-4508-9229-C47EE0047C90%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Problems testing a destroy failure

2014-01-06 Thread Clem Rock
I should add that this is a rails 2.3.18 (*sigh*) app.I see what 
you're saying about this code not being as RESTfully optimal as it could 
be but I feel that point is diverging off the original question: how do 
I get @payment_info.destroy to fail in a test?

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/75a7cd8ecba75a981693c1993e167da3%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] How to transcode/convert/rip HD-DVD EVO files to AVI for Window Media Player

2014-01-06 Thread vipchen yingsoft
What is EVO? EVO file also known as Enhanced VOB, is an extension to
VOB, It is regarded as a container format contained in HD DVD video
media. It contains the actual video, audio, subtitle and menu contents
in stream form. EVO files can contain video encoded in H.264/MPEG-4 AVC,
VC-1, or MPEG-2 and audio encoded in AC-3, E-AC-3, Dolby TrueHD, DTS,
DTS-HD, PCM, and MPEG-2. Only a few software solutions can play EVO
files, such as PowerDVD, WinDVD for Windows and FFmpeg for Linux
(unprotected EVO only).

How to convert HD-DVD EVO files to AVI for Window Media Player

This tutorial is about how to transcode/convert/rip HD-DVD EVO files to
AVI for Window Media Player with Aunsoft Blu-ray Video Converter
Ultimate. This versatile EVO to AVI converter can also convert EVO files
to various formats, such as MKV, FLV MOV, MKV, MP4, WMV, MPEG, for Mac
Players and Editing Systems, including Avid, Adobe Premiere, Sony Vegas,
etc.

Below is Step-by-Step Instructions to Converting EVO to AVI for Window
Media Player, you can refer to it when you transcode EVO files to any
other formats.

Free trial EVO to AVI Converter for Window

Step 1: Load HD-DVD EVO files to Blu-ray Video Converter Ultimate

Click load files or Load for folder (Ctrl+2), or you can drag and
drop EVO videos to this professional EVO to AVI converter for Window
Media Player.

Check the Merge into one box, you can merge EVO files into one file.
Meanwhile you can split one big EVO file into several clips.

Step 2: Select the HD AVI as output format

Click format in the main interface.
If you want to view EVO with Avid, Sony Vegas, Adobe Premiere, etc, or
with portable devices, such as iPad, iPod, iPhone, etc, you can directly
choose format under the devices.

Step 3: Set audio and video profile

Before EVO to HD AVI conversion for Window Media Player, you can
customize output formats, like setting 5.1 channels surround sounds, as
well as video bitrates, video size, sample rate, etc for specific needs.

You can also initial edit EVO file, like trim, crop, flip, add water
mark or effect to the videos via a click on “editor tool” in the main
interface.

Step 4: Convert EVO to HD AVI for Window Media Player

At last, click the Convert icon. The professional EVO to AVI Converter
for Window Media Player will run fast conversion to encode your HD-DVD
EVO videos to AVI for playing and editing on Windows. You will be able
to get the output files via clicking on Open button and then enjoy the
converted EVO files.

More EVO Conversion programs:

Convert MKV Files to HTC EVO 4G

Put/Play TiVo Movies on HTC EVO 4G/Aria/Droid Eris/EVO Shift 4G

More Tivo Conversion programs:

Converted TiVo HD files to iMovie 8/9 without rendering

TiVo/MKV/AVI to H.264 MP4

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/b703cf2c1c68bee725892f0a080ad602%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Problems testing a destroy failure

2014-01-06 Thread Frederick Cheung


On Monday, January 6, 2014 4:22:03 PM UTC, Ruby-Forum.com User wrote:

 I should add that this is a rails 2.3.18 (*sigh*) app.I see what 
 you're saying about this code not being as RESTfully optimal as it could 
 be but I feel that point is diverging off the original question: how do 
 I get @payment_info.destroy to fail in a test? 


I would usually stub it (using mocha, rspec etc) to return/raise as 
appropriate. Alternatively you could submit data that you know will fail 
validation

Fred

 


 -- 
 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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ab3ae52c-89dd-4470-bb5b-c76aaadf27ed%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Problems testing a destroy failure

2014-01-06 Thread Clem Rock
That was my original attempt too but the require_user_payment_info 
before_filter method checks for a valid payment_info object and will 
redirect away from the delete method if the @payment_info object isn't 
valid.If I mock the @payment_info object to be invalid, it won't 
make it to the delete method.

I must admit my mocking knowledge isn't very strong so my attempts at 
mocking have been failures.

Here's the before_filter configuration for require_user_payment_info:

before_filter :require_user_payment_info, :only = [:show, :edit, 
:update, :delete]

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/014137f89f7cbdfc0e08c427fe1902e0%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Best method to get current user vote type for hundreds posts with Rails?

2014-01-06 Thread railrrrr
Here is question on 
stackoverflowhttps://stackoverflow.com/questions/20939277/best-method-to-get-current-user-vote-type-for-hundreds-posts-with-rails/,
 
does anyone can help with?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/cda61918-8aa7-40a3-af34-d15cbebfa9ee%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Sass caching issue in development.

2014-01-06 Thread ec
Mathias,

Did you ever find a solution? A few people at my work including myself also 
have the same issue.

Eric

On Thursday, November 14, 2013 12:46:50 AM UTC-7, Mathias Jean Johansen 
wrote:

 Hi everyone,

 Lately, I've had quite an annoying problem when I work with Sass in Rails. 
 For reasons I cannot figure out, I need to kill the local Rails server 
 instance, rm -rf tmp/cache and start the server again to see the 
 changes I've made in app/assets/stylesheets. It obviously affects my 
 productivity why I now seek your help.

 Many answers on StackOverflow to similar questions suggest that I add 
 config.assets.cache_store 
 = :null_store and config.sass.cache = false to 
 config/environments/development.rb, but unfortunately that does not help me 
 solve my problem. Other answers suggest that I remove tmp/cache which works 
 in my case, but the problem is that I have to do it every single time I 
 change something in app/assets/stylesheets.

 I run Ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin13.0.0] 
 and Rails 3.2.15 on Mac OS 10.9.

 I really hope that some of you might have a solution to my problem.

 Kind regards,
 Mathias Jean Johansen


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/311da3c6-81ce-4131-8602-73ad6b93dabc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Problems testing a destroy failure

2014-01-06 Thread Frederick Cheung
On Monday, January 6, 2014 6:16:48 PM UTC, Ruby-Forum.com User wrote:
 That was my original attempt too but the require_user_payment_info 
 
 before_filter method checks for a valid payment_info object and will 
 
 redirect away from the delete method if the @payment_info object isn't 
 
 valid.If I mock the @payment_info object to be invalid, it won't 
 
 make it to the delete method.
 
 


In which case you want to just stub out the destroy method. In rspec for 
example you could do

PaymentInfo.any_instance.should_receive(:destroy).and_return(false)

And mocha can do something similar.

Fred

 
 I must admit my mocking knowledge isn't very strong so my attempts at 
 
 mocking have been failures.
 
 
 
 Here's the before_filter configuration for require_user_payment_info:
 
 
 
 before_filter :require_user_payment_info, :only = [:show, :edit, 
 
 :update, :delete]
 
 
 
 -- 
 
 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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0245fb6d-0310-44fd-beb8-d177644b2e38%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Problems testing a destroy failure

2014-01-06 Thread Clem Rock
Fred - big thanks on this.   I'm going to give it a try shortly and get 
back to you.

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4635b8cf34aad6d6f45929dc05b8b3f7%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] Re: Working with JavaScript

2014-01-06 Thread Robert Walker
James Turley wrote in post #1132300:
 2) Use JQuery or a similar library (JQuery is in your standard Rails
 project gemfile) to add a listener. It would be something like this:

As you might have guessed option 2) is the RIGHT option (as opposed to 
the, It may be ugly but it works! option).

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/532a9b5d94170e5bc7b447b4046bda1d%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Rails] [JOBS] 3D printing startup looking for experienced Ruby on Rails developer in NYC.

2014-01-06 Thread chuck


Hi all,

We are looking for a full time rails developer in NYC or willing to move to 
NYC to work on our team. We are a well funded startup focused on mobile 
e-commerce and 3d printing. 

An excerpt from the Job Listing:

Normal is looking for an experienced Senior Rails developer to help our 
infrastructure to be powerful, reliable and adaptable. We are looking for a 
brand-obsessed, action oriented, no-bullshit-taker, who is ready to make 
the shift from his/her current job to something much more Normal. If you 
like what you have read so far, then lets get serious….

*The Responsibilities:*

Your main responsibilities pertain to keeping our Rails platform performing 
well and growing with our needs. You will report to Normal’s CTO.

This involves:

   - Managing long term development and maintenance of Normal’s APIs that 
   service our native
   - mobile apps.
   - Building out new features for our internal operations platform also 
   built with Ruby on Rails.
   - Takinging on challenging software problems.
   - Developing reporting tools as needed.
   - Integrating with 3rd party APIs.
   - Automation of secure data exchange with partners.


Please see the link below for more info and to apply: 

http://boards.greenhouse.io/normal/jobs/5772#.UsszAWRDuuQ

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/518cf878-45d5-46b5-8313-07278af7093f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.