gem update cucumber-rails
should solve the problems ;)
gem update cucumber-rails
---
:update_sources: true
:sources:
- http://gems.github.com
:benchmark: false
:bulk_threshold: 1000
:backtrace: false
:verbose: true
gem: --no-ri --no-rdoc
[sudo] gem install roo
select *, LENGTH(REPLACE(email, '@', '')) AS occurrences from tables
sed -i 's/named_scope/scope/g' *.rb
require 'open-uri'
doc = Nokogiri::HTML(open("http://www.w3schools.com/xml/note.xml"))
results
The Xml File
result = doc.xpath('//note')
and last, after we get the children. we parse with :
result = result.xpath('//from').text
doc = Nokogiri::HTML(open("http://www.w3schools.com/xml/note.xml"))
result = doc.xpath('//note/from').text
# in this case, we are find for the root of "note", and then search the children node, named "from". and this will be "JANI"