Thank you. I removed type and created a new field. Everything is
working great thanks for your help.

On Aug 27, 4:33 pm, Bashar <[email protected]> wrote:
> I think the problem is with the name of the column, :type. It's a
> reserved. I read there is a way to use it, but I say it's really not
> worth it. Try dropping the column and adding it with different name.
> Should work.
>
> On Aug 27, 11:16 pm, techtimer <[email protected]> wrote:
>
> > The table I am working with is contacts. The new column is type. I
> > changed the edit.html.erb source by adding.
>
> > <p>
> >   <%= f.label :type %><br />
> >   <%= f.text_field :type %>
> > </p>
>
> > In the show.html.erb I added
>
> > <p>
> >     <b>Type:</b>
> >     <%=h @contact.type %.
> > </p>
>
> > What else do I need to post the source...
>
> > On Aug 27, 1:42 pm, heimdull <[email protected]> wrote:
>
> > > You missed posting the source...
>
> > > Lets have a look at edit and show views
>
> > > On Aug 27, 11:58 am, techtimer <[email protected]> wrote:
>
> > > > I added a new column using a migration. Once I updated the
> > > > new.html.erb, edit.html.erb, show.html.erb, and the index.html.erb  I
> > > > brought up my web pages. There was a field to update show. I tried the
> > > > update and the it was successful but the update did not show up in any
> > > > of the other pages. What did I miss? I am using 2.3.3 of ror.- Hide 
> > > > quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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