similar to: in_place_edit_for into which plugin?

Displaying 20 results from an estimated 1100 matches similar to: "in_place_edit_for into which plugin?"

2005 Nov 14
0
in_place_editor_field inside a partial collection
(I''ve already posted this to a quite unrelated thread. Sorry for those reading this twice.) Did anybody succeeded in using "in_place_editor_field" inside a partial collection? It''s working perfectly in a regular template, but the id part becomes blank when it''s inside a partial collection. article_controller.rb: class ArticleController <
2005 Nov 16
0
in_place_edit_for, multiple attributes?
I am using some in place editors on a page that views and updates records. I have it working but want to know if there is a more efficient way of declaring them in the controller. Currently, I have the following: class ChurchesController < ApplicationController in_place_edit_for :church, :name in_place_edit_for :church, :address # etc, etc... Is there a way to do this all on one
2006 Apr 24
3
Rails Recipes Book: Routing Error
Hi, I''m working on the first rails recipe, InPlaceEditing, and following the instructions very carefully. After generating the scaffold for Contact, I then go to the page, thus: http://localhost:3000/contacts/ I get this error: Routing Error Recognition failed for "/contacts/" What should I be checking for to resolve this problem? Thanks. -- Posted via
2006 Jan 18
5
Perform action after in-place edit
I want to be able to call an action after performing an edit using the in-place editor macro. I want to update multiple divs so I was thinking about using an RJS template. However, I can''t figure out how to trigger another action after the method created by in_place_edit_for runs. Is there is an option on Ajax.InPlaceEditor where I can inject some Element.update calls? Thanks, Shane
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 Apr 23
2
Rails Recipes
Rails Recipes ... has got some very appetizing recipes. However, I have a hard time starting. For example, the very first recipe, InPlaceEditing, how and where do I run this code to create the table? Thanks! class AddContactsTable < ActiveRecord::Migration def self.up create_table :contacts do |t| t.column :name, :string t.column :email, :string t.column :phone,
2006 Apr 04
3
How to use in_place_editor_field ?
Hello, I really don''t understand how to use in_place_editor_field In my controller : class Admin::CategoriesController < Admin::BaseController in_place_edit_for :category, :title def list @categories = Category.find_all end end In the view list.rhtml <% @categories.each do |c| %> <td><%= in_place_editor_field :c, c.title %></td> # snip <%
2007 Dec 21
1
in_place_editor not working for Internationalization
I''m trying to implement internationalization in my app. I followed the instructions on the Globalize example (http://wiki.globalize- rails.org/globalize/show/Example+Application), using in_place_editor. The translation works fine, however, I can''t get in_place_editor to work to translate the strings. My controller: class Admin::TranslateController < ApplicationController
2006 Apr 23
1
rake db:migrate error: uninitialized constant mysql
Hello, When I run: rake db:migrate , I get the "uninitialized constant mysql" error. I issue the command inside the root of the application InPlaceEditing, a recipe from Chad Fowler''s Rails Recipes. The InPlaceEditing application is inside the directory: c:\instantrails\rails_apps\InPlaceEditing I can run the InstantRails Cookbook tutorial, no problem, so MySql itself is
2006 Apr 03
4
Edit in Place in 1.1
Does anyone have a good example or know of some documentation about how to implement "Edit in Place" using Rails 1.1? Like the functionality in Flickr... I''ve googled and googled and can''t find any good documentation. Maybe it''s because 1.1 is so new? Thanks in advance. -Andy
2006 Jan 13
0
Controller part of in-place editing
I''m doing some incremental improvements on scaffolding, and want to add in-place editing to an admin section. I think I may have the view part working right (at least, the editor pops up as expected) with this in my view: ### <% for link in @links %> <tr> <td> <div id="<%= ''url'' + link.id.to_s -%>"><%= link.url
2008 Feb 22
7
undefined local variable or method "acts_as_list"?
Hi, I''m getting the error below, and I''m not sure where to find "acts_as_list" ... NameError in SpecialsController#printer undefined local variable or method `acts_as_list'' for #<Class: 0xb7a46994> RAILS_ROOT: /usr/local/apache2/htdocs/dps Application Trace | Framework Trace | Full Trace vendor/plugins/trunk/lib/scope_out.rb:70:in
2007 May 04
0
Mixing InPlaceEditor with AutoComplete
Hi I''d like to be able to open a field for update , with InPlaceEditing Features ... On the displayed TextField i want to plug : 1) AutoCompleter 2) (if possible) ModelAutoCompleter Someone already did that? I ''m going to begin to extend the InPlaceEditor (InPlaceEditorWithAutoCompleter) ... then i''ll see for ModelAutoCompleter Laurent
2006 Apr 18
4
IN-PLACE FORM EDITING
Ive been following the rails recipes (great book) and wanted to have a larger a text field when editing in place. The chapter it mentions that I can "force the InPlaceEditor to create either a text ?eld or a <textarea> ?eld, using the :rows option to in_place_editor_?eld( ). Then any value greater than 1 will tell InPlaceEditor to generate a <textarea>." It
2006 Jul 06
0
Using in_place_editor_field for collections?
I am trying to use in_place_editor_field to make many objects editable at the same time. I think I solved the first step of this problem; before it was giving me a problem about referencing a nil, so I did this: <%= in_place_editor_field ''question[]'', :name %> adding the [] seemed to fix things. Now all the fields show up on the page and they are all clickable. But
2008 Jun 06
0
in_place_editor_field in Rails 2.0.2
I''m attempting to get an in_place_editor_field working in my index view. I have the following: index.html.erb <% for profile in @profiles %> <% div_for(profile) do %> <% @profile = profile %> <%= in_place_editor_field(:profile, :first_name) %> <% end %> <% end %> profiles_controller.rb def index @profiles = Profile.find(:all)
2007 Aug 21
2
in place editor with scriptaculous
I have an issue with line break handling. When I display contents of a textarea, I use nl2br to show linebreaks that the user has made. The problem comes the second time they make an edit, since the <br> code still appears in the inPlaceEdit box... which will no doubt confuse my users... Any way around this? --~--~---------~--~----~------------~-------~--~----~ You received this message
2005 Aug 05
11
script.aculo.us Wiki update
Hi list, So, some hard work today, but the Wiki is quickly taking shape. I''ve now moved all the documentation I could find into it. The URL again: http://wiki.script.aculo.us/ There are also some new features in there, like: FAQ: http://wiki.script.aculo.us/scriptaculous/show/FAQ Wishlist (moved from Rails wiki): http://wiki.script.aculo.us/ scriptaculous/show/TheWishlist And the
2005 Oct 07
2
InPlaceEditor
Hi all, I was wondering if I could get some help with using Ajax.InPlaceEditor. I want to use loadTextURL to get the text, as it says on the bottom of the documents ''How to edit server side formatted text (formatted with eg. textile)''. My question is how do I know which inplaceedit I''ve clicked? So that I know which id I need to get the text from in the mysql
2008 Jan 21
13
has_many with different primary key
I''ve got quite the ActiveRecord challenge, any help would be appreciated. In my current project Companies can have many reviews. class Company < ActiveRecord::Base has_many :reviews, :as => :reviewable end However, my company table, I have two different IDs to identify my company. id - This is the typical id we use for normal stuff other_company_id - This is the id we use