ruby-on-rails-4 tag

5 questions


1 answers
118 views
0
This is a question about web crawling in Ruby.

I'm a student who studies the web.I'm making a code that extracts only the contents of Internet newspaper articles with rubies.Code execution allows you to extract text from a newspaper article. The c...


1 answers
115 views
0
What error is AttributeDoesNotExistError in Should Matcher...?

I'm writing a model spec using rspec, factory-girl, and shoulda-matcher.Using validate_presence_of provided by shoulda-matcher, we are writing a spec that an empty or false cannot be entered in the fi...


1 answers
143 views
0
Ruby Onrails Router Question.

I'm studying Ruby On Rails. I'm asking a question because I have a question while reading the book and copying the example.It is said that if you register resource :name with the router now, you can u...

2 years ago

1 answers
174 views
0
Web-crawling Korean broken question.

class Home Controller < Application Controller def index require 'open-uri' require 'nokogiri' @url =http://news.naver.com/main/read.nhn?mode=LSD&mid=shm&sid1=105&oid=030&aid=000248...


1 answers
144 views
0
Rails name rule question.

Although there is a description of the name rule in Perfect Ruby on RailsI have a question because the example is only when there is one word.For example, if you do rails g model user,Where rails shou...

2 years ago

© 2024 OneMinuteCode. All rights reserved.