List Info

Thread: Re: Suggestion to make newcomers happier (WAS: Re: Error: undefined method `extract_optio




Re: Suggestion to make newcomers happier (WAS: Re: Error: undefined method `extract_optio
country flaguser name
United States
2007-09-19 04:08:35
If you're running Mephisto 0.7.3, you should use it with
Rails 1.2.3.
Install it with

  rake rails:freeze:edge TAG=rel_1-2-3

On Sep 19, 6:07 pm, Jimmy <jimmy.s...gmail.com> wrote:
> Installed 0.7.3, edge 7472, plugin acts_as_list, did
rake
> db:bootstrap, started server, and pointed browser tohttp://localhost:3000/adm
in,
> redirected tohttp://localhost:
3000/account/login, which gave the
> following error:
>
> NoMethodError in Account#login
> Showing app/views/account/login.rhtml where line #2
raised:
> undefined method `[]' for :account:Symbol
> Extracted source (around line #2):
>
> edited file login.rhtml, line 2, to look like:
>
> <% form_tag({:controller=>"account",
:action=>"login"}, { :id =>
> 'login_form' }) do -%>
>
> logged in with admin/test
>
> Now I'm getting:
>
> NoMethodError in AccountController#login
> undefined method `redirect_to_url' for
#<AccountController:0x4ca0518>
>
> in authenticated_system.rb there's the one call to
redirect_to_url
>
> decided to try rails edge 7514
>
> and now the server doesn't even start:
>
> ipt/server
> => Booting Mongrel (use 'script/server webrick' to
force WEBrick)
> => Rails application starting onhttp://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> ** Starting Mongrel listening at 0.0.0.0:3000
> ** Starting Rails with development environment...
> Exiting
> C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/mephisto-0.7.3/
> vendor/r
> ails/railties/lib/commands/servers/mongrel.rb:16:
warning: already
> initialized c
> onstant OPTIONS
> C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/mephisto-0.7.3/
> vendor/r
> ails/railties/lib/commands/servers/mongrel.rb:19:
undefined method
> `options' for
>  []:Array (NoMethodError)
>         from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 32:in `ge
> m_original_require'
>         from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 32:in `re
> quire'
>         from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
>
.7.3/vendor/rails/activesupport/lib/active_support/dependenc
ies.rb:
> 497:in `requi
> re'
>         from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
>
.7.3/vendor/rails/activesupport/lib/active_support/dependenc
ies.rb:
> 342:in `new_c
> onstants_in'
>         from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
>
.7.3/vendor/rails/activesupport/lib/active_support/dependenc
ies.rb:
> 497:in `requi
> re'
>         from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
> .7.3/vendor/rails/railties/lib/commands/server.rb:39
>         from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `ge
> m_original_require'
>         from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `re
> quire'
>         from script/server:3
>
> Seriously.... how do you expect a non-programmer to
fall in love with
> this product?
>
> Jimmy


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---


Re: Suggestion to make newcomers happier (WAS: Re: Error: undefined method `extract_optio
country flaguser name
United States
2007-09-19 17:00:52

> If you're running Mephisto 0.7.3, you should use it
with Rails 1.2.3.
> Install it with
>
>   rake rails:freeze:edge TAG=rel_1-2-3

Thanks mate. So to recap, what worked for me was the
following:

download Mephisto 0.7.3
$ rake rails:freeze:edge TAG=rel_1-2-3
$ ruby script/plugin install http://dev.rubyonrails.org/svn/rails/plugins/acts_as_l
ist/
create database and modify config/database.yml
$ rake db:bootstrap
$ ruby script/server


Thanks again,
Jimmy


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )