search for: ecpath_app_version

Displaying 2 results from an estimated 2 matches for "ecpath_app_version".

2008 Nov 18
1
Missing js.erb template
Dear all I am new to web development, and I am working on some simple ajax function and got the following error that may need your expert opinions. Missing template ecpath_app_version/__version_list.js.erb in view path D:/Ruby/test/ssc_1/app/views I know there is no js.erb file in app/view/<controller> folder, and I don''t know what content should be in the js.erb. Are there any method to generate the js.erb file? Attached is my code for your reference. Thank fo...
2008 Nov 28
1
Rails Beginner.. NoMethodError
...find_by_name(params[:name]) if !user user = User.new user.name = params[:name] user.title = User.get_title #I think this trigger the error user.save end session[:user_id] = params[:name] redirect_to(:controller => ''ecpath_app_version'', :action => ''index'') else #flash[:notice] = "Invalid user/password combination" end end end Here is my user model model/user.rb require ''net/ldap'' class User < ActiveRecord::Base set_table_name "users&...