Your folder structure does not seem right. You should not have a "home" 
folder. You should have a "users" folder with a "home.html.erb"

On Tuesday, April 17, 2012 10:06:30 AM UTC-4, amvis wrote:
>
> i have one controller
> *class UsersController < ApplicationController*
> *  *
> *  def home*
> *   @business_name = return_value["business"]*
> *   puts "business_name.....#{@business_name}" *
> *  end*
> *end*
> *
> *
> and in *home* folder i have one view branch.html.erb.....My problem is, 
> when i display this <%=*@business_name %>* in branch.html.erb, i didn't 
> get anything...
> What is the issue in this view....?
>
>
> Thank you
> vishnu
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/YAI1E8Dh9FwJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to