> You did not say you are using Rails 3 (unless I missed it).  I have no
> experience of Rails 3, which is still under development.  You did not
> answer the question as to whether you are accessing
> something.model_name, nor whether the trace shows the failing line.
> 
> You do not specify your knowledge level, if you are just starting I
> would not recommend rails 3.  You will never know whether a problem is
> down to your experience or a problem with rails itself.
> 
> Colin

Hi Colin,
Yes I'm using Rails 3.  My knowledge level is ... well, begginer since 
I'm not able to make this thing works :-)  My years of experience are 
with PHP and .Net.  I'm trying Rails because it looks interesting and 
promising (once I'll get a solid grip on basic things like this!)

Here is my partial view for the Address class.
1<%= form_for(@address) do |f| %>
2  <div class="field">
3    <%= f.label :city %><br />
4    <%= f.text_field :city %>
5  </div>
6
7<% end %>

 The failling line is #3.  I'm able to load the partial if I put in it a 
string and no code (like "<h1> TEST </h1>"). I'm not sure that I 
understand what you meant by "something.model_name" ... As for Rails 3, 
they said on guides.rails.info :

"But if you’re starting development on a new application and you don’t 
mind getting wind in your hair, please do jump on board!"  I'm starting 
a new app and I'm eager to learn so that's what I've done.... is it a 
choice that bad ?

Thank you for you replies !
Greg


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to