Displaying 3 results from an estimated 3 matches for "project_".
Did you mean:
project
2007 May 02
4
Shared Nested Resources
The skinny is that I''m attempting to add "Discussions" as resources
under different resources ("Groups", "Projects", for example) and I''ve
simply hit a roadblock (or two).
Discussions are an association between the "discussable" (Group,
Project, etc.) and a "Topic" so:
class Discussion < ActiveRecord::Base
belongs_to :topic
2008 Nov 29
3
Yet another "NameError: uninitialized constant" problem
...:limit => 45
t.string "login", :limit => 45
...
end
Here''s the corresponding files in app/models directory. It appears that
I could not use "module" as the model name because that is a reserved
word in rails, so I had to prepend "project_" to the "module" names.
This might be where I messed up, I don''t know.
=============== project_module.rb ===================
class ProjectModule < ActiveRecord::Base
set_table_name "module"
has_many :module_user_maps, :dependent => :delete_all
has_many...
2008 May 13
0
Problem geting web interface to work
...js", "action"=>"index", "controller"=>"projects"}
Rendering projects/index_js
ActionView::TemplateError (Invalid argument - C:/Server/cruisedata/projects/myproject/builder.lock) on line #1 of app/views/projects/_project.rhtml:
1: <div id="project_<%= project.name %>" class="project build_<%= project.last_complete_build_status %>">
2: <table class="project_pane">
3: <tr>
4:
#{RAILS_ROOT}/lib/file_lock.rb:36:in `flock''
#{RAILS_ROOT}/lib/file_lock.rb:36:in `locked?''...