search for: projectshelp

Displaying 3 results from an estimated 3 matches for "projectshelp".

Did you mean: projectshelper
2007 Oct 10
2
RSpec seems to be having a hard time loading Helper classes
...with not current test written besides the ones auto-created for me. +++++++++ $ rake spec (in /Users/chrisolsen/Projects/Rails/chrisolsen/trunk) /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in `load_missing_constant'': uninitialized constant ProjectsHelper (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in `const_missing'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in `const_missing'' from ./sp...
2011 Nov 04
1
add dynamic nested attributes without nested form gem
...ying to add nested attributes dynamically, but I don''t want to use "nested form gem" So I found this example https://github.com/alloy/complex-form-examples/blob/a234fde4419836f277d7e340657f1d8418911d68/app/helpers/projects_helper.rb but this code doesn''t work module ProjectsHelper def remove_link_unless_new_record(fields) unless fields.object.new_record? out = '''' out << fields.hidden_field(:_delete) out << link_to_function("remove", "$ (this).up(''.#{fields.object.class.name.underscore}'')...
2006 Mar 04
13
file_column
Restricting size of an uploaded file, is how is that possible? If I do not want a user to upload a file larger than X bytes, can it easily be done? If I also would like restrict the types of files that can be uploaded, how may I do so? Thank you, Sharkie