[Rails] Re: NoMethodError in AdminController#index

2010-03-23 Thread dwhitekiss
I still get the same errors when I did option 1 /home/darwin/Sites/music_library/vendor/plugins/scaffolding/lib/ scaffolding.rb:107:in `list' /home/darwin/Sites/music_library/vendor/plugins/scaffolding/lib/ scaffolding.rb:95:in `index' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_contro

[Rails] NoMethodError in AdminController#index

2010-03-22 Thread dwhitekiss
I am newb in ror. I've googled and found no concrete answer to my problem below: NoMethodError in AdminController#index undefined method `scaffold' for AdminController:Class RAILS_ROOT: /home/darwin/Sites/music_library Application Trace | Framework Trace | Full Trace /home/darwin/Sites/music_l

[Rails] Re: NoMethodError

2009-12-24 Thread dwhitekiss
gs what appears to me is that you don't have any 'title' field in > the book database. > > Thanks & Regards, > Dhruva Sagar. > > On Thu, Dec 24, 2009 at 12:36 PM, dwhitekiss wrote: > > Hi, > > > In a few words, can someone explain to me the NoMe

[Rails] Re: NoMethodError

2009-12-24 Thread dwhitekiss
hat you don't have any 'title' field in > the book database. > > Thanks & Regards, > Dhruva Sagar. > > On Thu, Dec 24, 2009 at 12:36 PM, dwhitekiss wrote: > > Hi, > > > In a few words, can someone explain to me the NoMethodError. Googling > &g

[Rails] NoMethodError

2009-12-23 Thread dwhitekiss
Hi, In a few words, can someone explain to me the NoMethodError. Googling for answers will get you to something but a direct answer from experts will give you something. NoMethodError in Book#new Showing app/views/book/new.html.erb where line #4 raised: undefined method `title' for # Extracte

Re: [Rails] ccess denied for user 'root'@'localhost' (using password: NO)

2009-12-23 Thread dwhitekiss
Thanks for pointing the RAILS_ENV. Earlier, I set it to production where in fact it should be on development. On Thu, Dec 24, 2009 at 1:11 PM, Leonardo Mateo wrote: > On Thu, Dec 24, 2009 at 12:55 AM, dwhitekiss wrote: > > Hi, > > > > I already have the password set in

[Rails] ccess denied for user 'root'@'localhost' (using password: NO)

2009-12-23 Thread dwhitekiss
Hi, I already have the password set in database.yml but I am still getting this error in the development.log /!\ FAILSAFE /!\ Thu Dec 24 11:50:28 +0800 2009 Status: 500 Internal Server Error Access denied for user 'root'@'localhost' (using password: NO) /usr/lib/ruby/gems/1.8/gems/active

Re: [Rails] Re: "NoMethodError" while running Rake

2009-12-21 Thread dwhitekiss
`start' Rendering rescues/layout (not_found) D On Mon, Dec 21, 2009 at 10:26 PM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On Dec 21, 11:17 am, dwhitekiss wrote: > > *author_test.rb* > > > > require File.dirname(__FILE__) + '/../tes

Re: [Rails] Re: "NoMethodError" while running Rake

2009-12-21 Thread dwhitekiss
7;, author.name end end On Mon, Dec 21, 2009 at 8:36 AM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On Dec 21, 4:38 am, dwhitekiss wrote: > > Hi All, > > > Now I am not sure anymore if I was not able to define the fixtures or > > where shou

[Rails] "NoMethodError" while running Rake

2009-12-20 Thread dwhitekiss
Hi All, I was able to match the development database and migration will when running rake db:migrate I am trying to understand the error logs generated when running rake. $ rake (in /home/user/projects/emporium) /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake/rake

Re: [Rails] EDI

2009-12-17 Thread dwhitekiss
No, I just want to explore & create EDI apps with RoR On Fri, Dec 18, 2009 at 11:44 AM, Conrad Taylor wrote: > On Wed, Dec 16, 2009 at 10:42 AM, dwhitekiss wrote: > >> Hello, >> >> Has any body tried ROR for EDI development? If yes, can I see the >> resource

Re: [Rails] Re: EDI

2009-12-17 Thread dwhitekiss
Yes, I'd like to have a mapping - UDF - EDI & vice versa. I also want to create transmission as well. On Fri, Dec 18, 2009 at 3:46 AM, Bob wrote: > Are you looking to replicate just the aspect of mapping of an EDI file > to a flatfile format or are you also looking to build a RoR app that > can

Re: [Rails] EDI

2009-12-16 Thread dwhitekiss
> > > On Wed, Dec 16, 2009 at 1:47 PM, dwhitekiss wrote: > >> Electronic Data Interchange >> >> >> On Thu, Dec 17, 2009 at 2:46 AM, tom wrote: >> >>> EDI? >>> >>> >>> On Wed, Dec 16, 2009 at 1:42 PM, dwhitekiss wrote: &

Re: [Rails] EDI

2009-12-16 Thread dwhitekiss
Electronic Data Interchange On Thu, Dec 17, 2009 at 2:46 AM, tom wrote: > EDI? > > > On Wed, Dec 16, 2009 at 1:42 PM, dwhitekiss wrote: > >> Hello, >> >> Has any body tried ROR for EDI development? If yes, can I see the >> resources. If no, w

[Rails] EDI

2009-12-16 Thread dwhitekiss
Hello, Has any body tried ROR for EDI development? If yes, can I see the resources. If no, where should I start EDI on ROR? D -- 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-t...@googlegr

Re: [Rails] Generate Script

2009-12-10 Thread dwhitekiss
Thank you... It worked! On Fri, Dec 11, 2009 at 3:14 AM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Thu, Dec 10, 2009 at 11:09 AM, dwhitekiss wrote: > > /!\ FAILSAFE /!\ Fri Dec 11 03:00:22 +0800 2009 > > Status: 500 Internal Server Error > > A

Re: [Rails] Generate Script

2009-12-10 Thread dwhitekiss
er/webrick.rb:14:in `run' /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 O

Re: [Rails] Generate Script

2009-12-09 Thread dwhitekiss
Is this what you mean? $ cat about_controller.rb class AboutController < ApplicationController def index end end On Wed, Dec 9, 2009 at 12:14 PM, samuel gilman wrote: > No your script/generate is fine. > > Forgive me if this is too obvious but possibly check to see if the method > was adde

Re: [Rails] Generate Script

2009-12-09 Thread dwhitekiss
On Wed, Dec 9, 2009 at 5:28 PM, Colin Law wrote: > 2009/12/9 dwhitekiss : > > Hi, > > > > When I generated the controller about and index, I am not seeing the > > generated views in my firefox browser (an error occured). > > > > > > # script/genera

[Rails] Generate Script

2009-12-08 Thread dwhitekiss
Hi, When I generated the controller about and index, I am not seeing the generated views in my firefox browser (an error occured). # script/generate contoller about index exists app/controllers/ exists app/helpers/ exists app/views/about exists test/functional/

[Rails] Generated View

2009-11-28 Thread dwhitekiss
Hi What is the problem when the generated view does't show in the browser? I tried to change the file extention of the generated script from index.html.erb to index.html but still it won't work. Does anybody have an idea? D -- You received this message because you are subscribed to the Google

Re: [Rails] Script/Server options for other ports

2009-11-27 Thread dwhitekiss
Thanks On Fri, Nov 27, 2009 at 12:18 PM, Jeffrey L. Taylor wrote: > Quoting dwhitekiss : > > Hi, > > > > Does this mean that I have to reconfigure either bind or ror settings? > > > > # script/server > > => Booting WEBrick > > => Rail

[Rails] Script/Server options for other ports

2009-11-26 Thread dwhitekiss
Hi, Does this mean that I have to reconfigure either bind or ror settings? # script/server => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2009-11-27 12:10:47] INFO WEBrick 1.3.1 [2009-11-27 12:10:47] INFO rub

[Rails] browser did not show the output

2009-11-26 Thread dwhitekiss
Hi, I was able to create the a boilerplate code using the generate script. However, the expected (for this) about page did not show up in the browser. Do some encountered this already? # script/generate controller about index exists app/controllers/ exists app/helpers/ create

[Rails] Installing the MySQL Driver

2009-11-25 Thread dwhitekiss
Hi, I've setting up my ROR environemtn in Ubuntu linux, however, I'm having difficulties when installing the mysql driver: # gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ru

[Rails] Re: Beginner's challenge

2009-11-23 Thread dwhitekiss
you installed the gem sqlite3-ruby. > > if you still got an error, PASTE it, maybe someone could help you. > > > On 23 Nov, 13:42, dwhitekiss wrote: > > > Hello, > > > > I begun my journey in Ruby on Rails last Saturday and I am having some > >

[Rails] Beginner's challenge

2009-11-23 Thread dwhitekiss
Hello, I begun my journey in Ruby on Rails last Saturday and I am having some challenges specifically about the db Where should I go for the specific error listing and how it may be resolved. I googled and most that I've searched are not helpful. D -- You received this message because you are