hi all im trying to follow this link http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm to learn testing. i got this error undefined method `fixtures'' for BookControllerTest:Class (NoMethodError) i followed as it was mentioned thanks -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/pnUBMEPwtnwJ. For more options, visit https://groups.google.com/groups/opt_out.
On Fri, Aug 10, 2012 at 6:32 AM, Khan <emailtosameenakhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi all im trying to follow this link > http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm to > learn testing. i got this error > undefined method `fixtures'' for BookControllerTest:Class (NoMethodError)And, for whatever reason, you really are running Rails 2.1 ?? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
no am running 2.3.8 On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder < hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Aug 10, 2012 at 6:32 AM, Khan <emailtosameenakhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > hi all im trying to follow this link > > http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htmto > > learn testing. i got this error > > undefined method `fixtures'' for BookControllerTest:Class (NoMethodError) > > And, for whatever reason, you really are running Rails 2.1 ?? > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > http://about.me/hassanschroeder > twitter: @hassan > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 11 August 2012 06:26, sameena Khan <emailtosameenakhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> no am running 2.3.8Just be aware then that following a tutorial that does not match the version of rails you are using can be difficult, as whenever something does not work you do not know whether you have done something wrong or it is just that the tutorial is wrong for your version. You might be better following an up to date tutorial such as railstutorial.org, which is free to use online (and installing the appropriate version of rails obviously). Colin> > On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder > <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> On Fri, Aug 10, 2012 at 6:32 AM, Khan <emailtosameenakhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> wrote: >> > hi all im trying to follow this link >> > http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm >> > to >> > learn testing. i got this error >> > undefined method `fixtures'' for BookControllerTest:Class >> > (NoMethodError) >> >> And, for whatever reason, you really are running Rails 2.1 ?? >> >> -- >> Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> http://about.me/hassanschroeder >> twitter: @hassan >> >> -- >> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Ok ill make sure that i go for updated tutorial On Sat, Aug 11, 2012 at 12:03 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 11 August 2012 06:26, sameena Khan <emailtosameenakhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > no am running 2.3.8 > > Just be aware then that following a tutorial that does not match the > version of rails you are using can be difficult, as whenever something > does not work you do not know whether you have done something wrong or > it is just that the tutorial is wrong for your version. You might be > better following an up to date tutorial such as railstutorial.org, > which is free to use online (and installing the appropriate version of > rails obviously). > > Colin > > > > > On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder > > <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> > >> On Fri, Aug 10, 2012 at 6:32 AM, Khan <emailtosameenakhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> wrote: > >> > hi all im trying to follow this link > >> > > http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm > >> > to > >> > learn testing. i got this error > >> > undefined method `fixtures'' for BookControllerTest:Class > >> > (NoMethodError) > >> > >> And, for whatever reason, you really are running Rails 2.1 ?? > >> > >> -- > >> Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > >> http://about.me/hassanschroeder > >> twitter: @hassan > >> > >> -- > >> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > -- > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.