similar to: in_place_edit

Displaying 20 results from an estimated 80000 matches similar to: "in_place_edit"

2006 May 11
2
How do you make in_place_edit fields appear when empty?
Here''s a simple one... When using in_place_edit fields, they don''t appear unless they already have a value. How can I get similar functionality when they are empty? Thanks, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060511/a98640cf/attachment.html
2008 Jun 06
2
Scriptalicious: Ajax Inline Text Editor
Hi, I''m just starting out with Scriptalicious + Prototype, and I''ve run into a problem. I''m trying to create an Ajax.InPlaceEditor that combines the custom size textbox, and the custom parameter (from the examples in the scriptalicious documentation) http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor I''ve tried a couple different methods (one of
2008 Mar 11
1
fields_for in a form_for_remote?
Can you nest fields_for in a form_for_remote? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2006 Jul 16
0
in_place_edit-like functionality in my controller
Hello, I''m trying to extend the functionality of in_place_edit and would like to have a function in my controller that populates methods for requested object/methods (just like in_place_edit does). Here''s some test code I tried to make work (from my controller): def do_some_edit(object, field) logger.info("We are editing") end do_some_edit(:item,
2006 May 17
0
How to validate in_place_edit updates
Can anyone enlighten me on how to make in_place_edit fields go through validations that are defined in the model? For example, my customer model has a "validates_numericality_of phone", but when the in_place_edit is done you can enter whatever you want. The field is defined as a string in the DB. I can''t change the database schema, due to other constraints, so I need a
2007 Dec 19
2
undefined method `in_place_editor'
I''m trying to get Globalization to work using the globalize plugin. In their sample application they use in_place_editor to edit the translate strings. <%= in_place_editor "tr_#{tr.id}", :url => { :action => :set_translation_text, :id => tr.id }, :load_text_url => url_for({ :action => :translation_text, :id => tr.id })%> </p> I get the
2007 Nov 29
7
Sessions Not Working In Production Mode
I am completely stumped by this problem, and would welcome any suggestions people could provide. My application uses active-record-based sessions. In development mode, the app works fine with sessions, no problems. But in production mode, the process works for a while (a few hours, maybe more), but at a certain point the session mechanism stop working. It looks like the system stops storing new
2006 Mar 31
13
validation with in_place_edit_for
i''ve got an in place edit text box for some of my fields. my model has validates_presence_of for the field but nothing happens. it works fine in the scaffold when using the edit page, but nowhere else. anyone have a solution to this? -- Posted via http://www.ruby-forum.com/.
2006 Nov 04
6
Javascript form validation for In place editting in scriptaculous ?
Is there a way by which I can do form validation for form generated by In Place Editting of scritaculous? The reason is, I want to avoid server roundtrip for checks which I can perform at browser. Regards, Jatinder -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060828/ca882668/attachment-0001.html
2008 Sep 17
0
Problem with url_for and namespaces (in in_place_editing)
Hello, Well I have been working with the in_place_editing plugin and have been running into the following error: Unknown action No action responded to 1 My code on my view is below: <span id = "permission"><%= @permission.name %></span> <%= in_place_editor "permission", {:url => url_for(:action => "update", :id => @permission.id) }
2006 Jan 12
2
in-place editing with validation
is there a good in-place editing solution with rails that does validation too ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/273fad3e/attachment.html
2008 Apr 08
7
SQLite3 error
I am trying to install SQLite3 on my Rails app but I keep getting this error: ./sqlite3.dll: 127: The specified procedure could not be found. - Init_sqlite3 (LoadError) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys, This is the final list of the new maintainers of each plugin. We need two more things to do: First please the owners of the repos add the rest of the maintainers. Second I will add a note on each rails/plugin mentioning this repos updates. So from now on, if someone else is interested in helping/contributing please send a message to the appropriate repo owner. verification
2008 Dec 02
4
Sharing a partial between multiple controllers
I want to share a partial between 2 or more controllers. I have a "location" partial that I want users to enter "Address, City, State, Zip" information in however I have "Payees", "Institution", and "Event" models that can have "location" information stored with them. Since I don''t want to duplicate the partial across each
2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick: uninitialized constant Magick /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:in `const_missing'' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2008 Jan 24
4
using object.find() in a loop not returning an array
I''m running a loop (illustrated below) that retrieves records from a table based on an id that might be different with each iteration. The loop uses the array scrns (composed of IDs) to find the related records in the Screens table. I''m attempting to store the returned results in an instance variable so I can use that data in a view. However, this code simply is overwriting
2007 Sep 17
5
Script.aculo.us effect queues & Ajax.Updater()
Hey guys, I''m new here and just checked out Prototype with Script.aculo.us and have to say it''s a great experience once you get the concept. However, I''m not very experienced with JS so I''m a bit stuck on something I think is quite easy to solve: What already works: A searchfield is observed by a DelayedObserver, a list of contacts is updated vie Ajax updater.
2008 May 29
2
Render partial yields "dynamic constant assignment"
I''m getting a syntax error when rendering a partial. This is a simple html partial with one instance variable inside it. Rendering as a "template" instead of as a partial works just fine. The error occurs 3 lines after the last line of HTML code in the partial. There is no line 72! Here is the error: SyntaxError in Building_blocks#preview Showing
2006 Aug 17
2
SaltedHashLoginGenerator no such file to load -- iconv
Hi, I''m trying to use the SaltedHashLoginGenerator as documented on http://wiki.rubyonrails.com/rails/pages/SaltedHashLoginGenerator Ruby version: ruby 1.8.4 (2005-12-24) [i386-openbsd3.9] I''ve the following commands: gem install salted_login_generator gem install localization_generator rails myapp cd myapp ruby script/generate salted_login User Localization All ran
2006 Aug 31
40
Rails Deployment Book
I''ve been mulling over an idea for a book covering Ruby on Rails application deployment. Obvious topics include using Mongrel by itself and with Apache/Lighttpd, load balancers, memcached, and Capistrano. What other topics would you like to see covered in such a book? Cheers, -- Dave Murphy (Schwuk) http://schwuk.com