search for: javascriptmacroshelper

Displaying 13 results from an estimated 13 matches for "javascriptmacroshelper".

2007 Oct 02
3
Note on Rails 2.0 Preview
Make sure you get a relatively current version of rspec or you will get: /Users/me/rails/ubb/vendor/rails/activerecord/lib/../../activesupport/ lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameError) Hope this helps someone.
2006 Aug 06
1
Where is ActionController::InPlaceEditing?
I can''t find this doc anywhere, but the JavaScriptMacrosHelper doc mentions it. Jose -- Posted via http://www.ruby-forum.com/.
2006 Feb 28
2
acts_as_taggable and auto_complete
I''m using the acts_as_taggable gem (who''s site has gone AWOL apparently) and I''m wanting to make it autocomplete. I, however, am the absolute worst JavaScript person ever, so is there anyone out there that can point me to a tutorial or give some good starting points? Thanks! Kenneth -- => the blog from beyond <= => www.eyeheartzombies.com <=
2006 Mar 14
7
Single form w/ relationships: how do I integrate it?
OK - I know this has been asked before, but I cannot find it in the archives. Forgive me if I''m creating more noise than I should. I want to know the easiest way to deal with this scenario: I have articles. I have categories for the articles. On the form where you write an article, there needs to be a free-form field to entire the category. The create() method will build the
2006 May 31
3
textfield_with_auto_complete - filling two fields
I am going nuts here.. I have a form where users can write a city name (used with auto_complete) - and once they click on the desired city in the dropdown menu - I would like to have the Country field filled automatically as well... Is this possible at all ? If so, can somebody please tell me where I can find some documentation on the subject, or preferrably an example ? Many thanks in
2008 Jan 18
2
Rspec problem in testing RoR application
Hello. I install gems rspec and rspec_on_rails I have this Error when try to run Rspec tests on my RoR application: /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameError) And I follow recipes wich are placed in http://rubyforge.org/pipermail/rspec-devel/2007-September/004032.html But it make another one Error: /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant Sp...
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all, I had some specs that were using fixture_file_upload that were passing just fine. Then I froze edge rails to get some 2.0 functionality, then a I upgraded to trunk rspec to deal with uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper After a couple other of tribulations, I have now gotten down to just a couple of not passing specs, all using the fixture_file_upload. Here''s an example it "should be invalid if uploaded file is not an image" do @image.attributes = valid_image_attributes.merge({:upload...
2006 May 12
1
auto complete a text field
Hi, Im looking for a way to autocomplete a text field, I have found this, http://wiki.rubyonrails.com/rails/pages/HowToUseAdvancedAutocompleteFeatures but at the top it says "Note that there?s easier ways to do this built into newer versions of Rails, this was written in the early days of the framework. If I get a chance, maybe I?ll update." Any ideas where i can find some info on
2006 Mar 28
1
Passing the input name to "text_field_with_auto_complete"
I have a view with two auto complete input boxes. How do I give the input a name like I can for "text_input" helper? I''ve looked at the docs (http://api.rubyonrails.com/classes/ActionView/Helpers/JavaScriptMacrosHelper.html#M000462) but cant make sense of it... <p><label for="search_start_station">From</label><br/> <%= text_field_with_auto_complete :station, :name %></p> <p><label for="search_end_station">To</label>&lt...
2006 Feb 05
2
in_place_editor is missing load_text_url option
...://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor) you''ll see an excellent example in Rails of how you might use that option textilize in place edited stuff. Unfortunately, the example doesn''t use the nifty Rails in_place_editor method because ActionView::Helpers::JavaScriptMacrosHelper#in_place_editor doesn''t suppport a load_text_url option (that would ostensibly be passed on to the AJAX constructor as loadTextURL). Dissapointed. I added this line to in_place_editor: js_options[''loadTextURL''] = "''#{url_for(options[:load_text_url])}...
2007 Oct 29
2
rspec throws exception (nameError)
Hi, I''m running Rails 1.2.5 with rspec 1.0.8. When i runned autotest first time, it complained about this line. #include ActionView::Helpers::JavaScriptMacrosHelper in vendor/plugins/rspec_on_rails/lib/spec/rails/dls/behaviour/helper.rb ...I commented it out, then I got another error about this line, so I also commented this out. #Test::Unit.run = true in vendor/plugins/rspec_on_rails/lib/spec/rails/rails.rb Now when I run autotest i get third error which i...
2005 Nov 14
0
in_place_editor_field inside a partial collection
...ut in this case, [comment_body__in_place_editor] only becomes [21], but not [comment_body_21_in_place_editor] Here are the docs for InPlaceEditing: http://rails.rubyonrails.com/classes/ActionController/Macros/InPlaceEditing/ClassMethods.html http://rails.rubyonrails.com/classes/ActionView/Helpers/JavaScriptMacrosHelper.html#M000367 What am I missing here? --Joon
2007 Dec 11
5
RSpec TMbundle
I tried checking it out today using instructions here: http://rspec.rubyforge.org/tools/extensions/editors/textmate.html I get a ''svn: Connection closed unexpectedly''. Did it move or is it down? Nathan Sutton fowlduck at gmail.com rspec edge revision 3052 rspec_on_rails edge revision 3049 rails edge revision 8269