Hi,
I'm new to Mephisto and have followed a number of tutorials
to get
Mephisto running under Textdrive (official and Old Dogs the
main
sources). Everything works bar two areas; sections and
articles.
I'm getting the "nil:NilClass" error for
'new_record'
(app/views/admin/sections/_form.rhtml);
<% form_remote_for :section,
:url => { :action => ( section.new_record? ?
'create' : 'update'), :id
=> section }, :html => { :id => 'section-form' }
do |f| %>
obviously because section == nil
Similar error (for 'inject') for the
app/views/admin/articles/index.rhtml template.
I'm assuming its some setup/config fault.
Any help is appreciated
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|