On Tue, May 24, 2011 at 1:58 AM, john shelfer wrote:
>
>
> On Mon, May 23, 2011 at 11:32 PM, Hassan Schroeder <
> hassan.schroe...@gmail.com> wrote:
>
>> On Mon, May 23, 2011 at 8:17 PM, John shelfer
>> wrote:
>>
>> > But to run a migration "rake db:migrate" is right command ,still
>> > it didn't
On Mon, May 23, 2011 at 11:32 PM, Hassan Schroeder <
hassan.schroe...@gmail.com> wrote:
> On Mon, May 23, 2011 at 8:17 PM, John shelfer
> wrote:
>
> > But to run a migration "rake db:migrate" is right command ,still
> > it didn't run .why?
>
> That's what error messages tell you. But you have to
On Mon, May 23, 2011 at 8:17 PM, John shelfer wrote:
> But to run a migration "rake db:migrate" is right command ,still
> it didn't run .why?
That's what error messages tell you. But you have to read them.
--
Hassan Schroeder hassan.schroe...@gmail.com
http://about.me/
On May 23, 11:33 am, Hassan Schroeder
wrote:
> On Mon, May 23, 2011 at 8:06 AM, john shelfer wrote:
> >> Also check that the database does now actually contain the posts table
> >> with the correct columns.
>
> > Posts table exist in database but there is no column for name,title
> > an
On May 23, 11:33 am, Hassan Schroeder
wrote:
> On Mon, May 23, 2011 at 8:06 AM, john shelfer wrote:
> >> Also check that the database does now actually contain the posts table
> >> with the correct columns.
>
> > Posts table exist in database but there is no column for name,title
> > an
On Mon, May 23, 2011 at 8:06 AM, john shelfer wrote:
>> Also check that the database does now actually contain the posts table
>> with the correct columns.
>
> Posts table exist in database but there is no column for name,title
> and content even after "rake db:migrate",it couldn't genera
On Mon, May 23, 2011 at 10:50 AM, Colin Law wrote:
> On 23 May 2011 15:37, john shelfer wrote:
> > No.I followed yet it from Agile web development with Rails (Pdf).Does
> > everything seems right with coding part?
>
> It looks ok. Can you post your models/post.rb file,
model/post.rb
On 23 May 2011 15:37, john shelfer wrote:
> No.I followed yet it from Agile web development with Rails (Pdf).Does
> everything seems right with coding part?
It looks ok. Can you post your models/post.rb file, the error message
you are getting, the stack trace, and the relevant section of code
On Mon, May 23, 2011 at 6:54 AM, Colin Law wrote:
> On 23 May 2011 11:50, john shelfer wrote:
> >
> >
> > On Mon, May 23, 2011 at 6:38 AM, Colin Law
> wrote:
> >>
> >> On 23 May 2011 11:20, john shelfer wrote:
> >> >
> >> >
> >> > On Mon, May 23, 2011 at 3:04 AM, Colin Law
> >> > wrote:
> >>
On 23 May 2011 11:50, john shelfer wrote:
>
>
> On Mon, May 23, 2011 at 6:38 AM, Colin Law wrote:
>>
>> On 23 May 2011 11:20, john shelfer wrote:
>> >
>> >
>> > On Mon, May 23, 2011 at 3:04 AM, Colin Law
>> > wrote:
>> >>
>> >> On 23 May 2011 02:59, John shelfer wrote:
>> >> >
>> >> >
>> >> >
On Mon, May 23, 2011 at 6:38 AM, Colin Law wrote:
> On 23 May 2011 11:20, john shelfer wrote:
> >
> >
> > On Mon, May 23, 2011 at 3:04 AM, Colin Law
> wrote:
> >>
> >> On 23 May 2011 02:59, John shelfer wrote:
> >> >
> >> >
> >> > On May 22, 12:57 pm, Jatin kumar wrote:
> >> >> You are confus
On 23 May 2011 11:20, john shelfer wrote:
>
>
> On Mon, May 23, 2011 at 3:04 AM, Colin Law wrote:
>>
>> On 23 May 2011 02:59, John shelfer wrote:
>> >
>> >
>> > On May 22, 12:57 pm, Jatin kumar wrote:
>> >> You are confusing things a lot.
>> >> Answer this question first:
>> >> Did you scaffold
On Mon, May 23, 2011 at 3:04 AM, Colin Law wrote:
> On 23 May 2011 02:59, John shelfer wrote:
> >
> >
> > On May 22, 12:57 pm, Jatin kumar wrote:
> >> You are confusing things a lot.
> >> Answer this question first:
> >> Did you scaffold the model or you are adding the files one by one
> writin
On 23 May 2011 02:59, John shelfer wrote:
>
>
> On May 22, 12:57 pm, Jatin kumar wrote:
>> You are confusing things a lot.
>> Answer this question first:
>> Did you scaffold the model or you are adding the files one by one writing
>> the code by hand.
> I didnt scaffold.I am adding files one by
On May 22, 12:57 pm, Jatin kumar wrote:
> You are confusing things a lot.
> Answer this question first:
> Did you scaffold the model or you are adding the files one by one writing
> the code by hand.
I didnt scaffold.I am adding files one by one.
> 1. If you did scaffold, I don't see a problem
You are confusing things a lot.
Answer this question first:
Did you scaffold the model or you are adding the files one by one writing
the code by hand.
1. If you did scaffold, I don't see a problem coming anywhere.
2. If you didn't scaffold, then go for Colin's suggestion and read the
guides, you
On May 22, 3:15 am, Colin Law wrote:
> On 22 May 2011 08:09, John shelfer wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On May 22, 2:55 am, Colin Law wrote:
> >> On 22 May 2011 07:41, John shelfer wrote:
> >>> ...
> >> > "undefined method `name' for # >> > updated_at: nil>"
>
> >> Look at the error and tr
On 22 May 2011 08:09, John shelfer wrote:
>
>
> On May 22, 2:55 am, Colin Law wrote:
>> On 22 May 2011 07:41, John shelfer wrote:
>>> ...
>> > "undefined method `name' for #> > updated_at: nil>"
>>
>> Look at the error and try and work out what it means. There should
>> also be an indication of
On May 22, 2:55 am, Colin Law wrote:
> On 22 May 2011 07:41, John shelfer wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On May 21, 2:45 pm, Frederick Cheung
> > wrote:
> >> On May 21, 4:22 pm, John shelfer wrote:
>
> >> > On May 21, 5:13 am, Colin Law wrote:
>
> >> > yes i added a resource and now rou
On 22 May 2011 07:41, John shelfer wrote:
>
>
> On May 21, 2:45 pm, Frederick Cheung
> wrote:
>> On May 21, 4:22 pm, John shelfer wrote:
>>
>> > On May 21, 5:13 am, Colin Law wrote:
>>
>> > yes i added a resource and now router.rb look likes but same issue
>> > is still there
>>
>> > Check::
On May 21, 2:45 pm, Frederick Cheung
wrote:
> On May 21, 4:22 pm, John shelfer wrote:
>
> > On May 21, 5:13 am, Colin Law wrote:
>
> > yes i added a resource and now router.rb look likes but same issue
> > is still there
>
> > Check::Application.routes.draw do
> > get "posts/index"
> > r
On May 21, 4:22 pm, John shelfer wrote:
> On May 21, 5:13 am, Colin Law wrote:
>
> yes i added a resource and now router.rb look likes but same issue
> is still there
>
> Check::Application.routes.draw do
> get "posts/index"
> resources :post
resources should be plural, ie resources :po
On May 21, 5:13 am, Colin Law wrote:
> On 21 May 2011 10:00, john shelfer wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On Sat, May 21, 2011 at 4:05 AM, Colin Law wrote:
>
> >> On 21 May 2011 05:18, John shelfer wrote:
>
> >> >> Please run rake routes and post that here
> >> > rake routes shows
> >> > p
On 21 May 2011 10:00, john shelfer wrote:
>
>
> On Sat, May 21, 2011 at 4:05 AM, Colin Law wrote:
>>
>> On 21 May 2011 05:18, John shelfer wrote:
>> >
>> >> Please run rake routes and post that here
>> > rake routes shows
>> > posts_index GET /posts/index(.:format)
>> > {:action=>"index", :con
On Sat, May 21, 2011 at 4:05 AM, Colin Law wrote:
> On 21 May 2011 05:18, John shelfer wrote:
> >
> >> Please run rake routes and post that here
> > rake routes shows
> > posts_index GET /posts/index(.:format)
> > {:action=>"index", :controller=>"posts"}
> >
> > What does your routes.rb look l
On 21 May 2011 05:18, John shelfer wrote:
>
>> Please run rake routes and post that here
> rake routes shows
> posts_index GET /posts/index(.:format)
> {:action=>"index", :controller=>"posts"}
>
> What does your routes.rb look like?
> router.rb file looks like:
>
> Check::Application.routes.draw
> Please run rake routes and post that here
rake routes shows
posts_index GET /posts/index(.:format)
{:action=>"index", :controller=>"posts"}
What does your routes.rb look like?
router.rb file looks like:
Check::Application.routes.draw do
get "posts/index"
# The priority is based upon o
27 matches
Mail list logo