Getting started rails tutorial not working for me

Topics: User Forum
Sep 30, 2008 at 1:14 PM

When I try the "Getting started" rails tutorial I get the following:

Error 15 Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). \Login.aspx.cs 10 14 C:\...\test_alumni\

My Login.aspx.cs  looks like this:
 
public partial class AlumniLogin : System.Web.UI.Page

Any Idea on how to fix this error?

Coordinator
Oct 1, 2008 at 2:34 PM
Did you fully follow the steps in the tutorial?

Based on your description, I think you may should change the page base class as:
public partial class AlumniLogin : Lephone.Web.Rails.PageBase

And the source code also include a sample rails style MVC website called "WebDebug", it may help you more.