it is giving this error where
 <%=flash[:message]%><br>

flash message is given

pls help...



On Apr 10, 4:01 pm, Rahul Mehta <rahul23134...@gmail.com> wrote:
> i havent used session , is it due to plugins i have used and not
> installed in new app.
> for that what i need to do..
>
> On Apr 10, 3:40 pm, Frederick Cheung <frederick.che...@gmail.com>
> wrote:
>
> > On Apr 10, 11:32 am, Rahul Mehta <rahul23134...@gmail.com> wrote:>  
> > ActionController::SessionRestoreError in Content_masters#index
>
> > > Showing app/views/content_masters/index.html.erb where line #77
> > > raised:
>
> > > Session contains objects whose class definition isn\'t available.
> > > Remember to require the classes for all objects kept in the session.
> > > (Original exception: #{const_error.message} [#{const_error.class}])
>
> > It's pretty much what it says - Something is stored in the session
> > that Rails can't pull out because it can't find the corresponding
> > class. What have you been putting in the session (and as a general
> > rule it's good practice to keep to fairly simple data in the session
> > (arrays, hashes, strings, numbers etc.)
>
> > Fred
>
> > > Extracted source (around line #77):
>
> > > 74:                      </td>
> > > 75:     <td>&nbsp;<%= link_to
> > > 'Show', 
> > > :controller=>"content_masters",:action=>"show",:id=>content_master.id
> > > %></td>
> > > 76:     <td>&nbsp;<%= link_to 'Edit',
> > > edit_content_master_path(content_master) %></td>
> > > 77:     <td>&nbsp;<%= link_to 'Destroy', content_master, :confirm =>
> > > 'Are you sure?', :method => :delete %></td>
> > > 78:   </tr>
> > > 79:   <%
> > > 80:
> > > @dd=ContentMaster.find(:all,:conditions=>"parent_id=#{content_master.id}")
>
> > > On Apr 10, 3:31 pm, Rahul Mehta <rahul23134...@gmail.com> wrote:
>
> > > > Hiiiiiii
>
> > > > created new application from old application copy of that the old
> > > > application is running but new application is not running fine ,,
>
> > > > please help its urgent...
>
> > > >  ActionController::SessionRestoreError in Content_masters#index
>
> > > > Showing app/views/content_masters/index.html.erb where line #77
> > > > raised:
>
> > > > Session contains objects whose class definition isn\'t available.
> > > > Remember to require the classes for all objects kept in the session.
> > > > (Original exception: #{const_error.message} [#{const_error.class}])
>
> > > > thanks
>
> > > > rahul

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to