Community Page
- www.brodwall.com/johannes/blog/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- The evolution of SOA Introduce the concepts of services and SOA Design principles of SOA ... The benefits of employing SOA Review of common business goals ... Related articles. Web Application...
- Great article and I agree with you that ............ Thanks for the tips!
- Great read, good work old chap :)
- Hi...Your post really got me thinking man..... an intelligent piece ,I must say.
- Was a good read. thank great post, I think this article is useful. I'll be back for more. Thanks for sharing the information . .. :)
Jump to original thread »
In my last article, I showed you how to get started with your Rails application. The result of the simple commands, rails blogdemo; cd blogdemo; ruby script/generate scaffold article title:string author:string content:text; rake db:migrate; ruby script/server was that you had
... Continue reading »
1 year ago
app/controllers/comments_controller.rb:89: formal argument cannot be an instance variable
def find_article
@article = Article.find(params[:article_id])
end
1 year ago
I don't get the same error, and I'm wondering if you might've made a mistake in copying the code. The error message is something you get if you say
def method(@param) ...
Or
do |@param| ...
or
{ |@param| ...
Is it possible that you have an extra "(" after "find_article"?