similar to: update_page yields escaped code in callback

Displaying 19 results from an estimated 19 matches similar to: "update_page yields escaped code in callback"

2009 Sep 10
1
undefined method `protect_against_forgery?'
When I use plugin ''railstree'' (http://www.hashcode.eti.br/?p=91) as following code: node = Node.new :label => menu_item.name, :link_to_remote => { :base => self, :update => "container", :url => {
2006 Jan 11
8
[scriptaculous] Intermitently Disabling Clicks
I have button that slides down a menu using Effect.BlindDown, but the function that slides it down also makes it so that the opening link now slides the menu back in. If the user double clicks the link (thuse opening & closing immediatley) the slide animation breaks, then will not extend correctly (but no JS errors). How would you go about stopping this happening? Also, is it just me or is
2006 Jan 07
3
user engine question
I''ve created an array of hashes in UserController#initialize to describe a menu: @menu_array = [ {:menu => ''home'', :controller => ''home'', :action => ''send_home''}, {:menu => ''user list'', :action => ''list''}, {:menu => ''login'', :controller =>
2006 Jul 07
9
Search on data accross many tables, linked by belongs_to
I am using Ferret and acts_as_ferret, as my search back-end for my Rails project. I have a question about using acts_as_ferret on a main table that is linked to other tables by foreign keys. Is there a way to include the information linked by the belongs_to keyword in the search results ? As an example, let''s say I have a main table ''posts'':
2010 Apr 21
4
Accessing the router from a helper
I find manually accessing the router to be quite ugly below. Is there a more direct way to access it? module ApplicationHelper def menu_item text, url = nil routes = ActionController::Routing::Routes url = if url if url.is_a? String url else routes.generate url end else routes.generate :controller
2010 Sep 18
1
some question
I am making a program and get some trouble here 1. how do I close all opened child window in mdi form? 2. I cannot disable menu_item, perhaps I use .enable false the wrong way? -- Suka linux? Kunjungi blog saya http://penguinroad.blogspot.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Jul 23
6
how do you give focus to a form field?
When you put up a page with a form on it and the top item is a text field it would be nice to have that field already focused instead of forcing the user to click in it before they start typing. Is there a rails (i.e. probably Prototype) way of giving focus to a field? I did some searching and found nothing. thanks, jp P.S. I''m on a Mac. Perhaps a winoze and/or unix automatically
2006 Mar 03
0
re: rjs update_page problems
my apologies for my previous butchery of the english language... i have a list of, for example, meal_names. Basically, I can submit a name and the name I add shows up in the list.I had this working when i created an actual add.rjs template for it. So, feeling good about my self, I attempted to move it all to the controller and use some update_page goodness. Now the ajaxy magic doesn''t
2006 Mar 07
0
Re: rjs isn''t update_page problems (Cody Fauser)
Thank you for the reply Cody. It didn''t work so I''m just going to try edge rails again. Wish me luck! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/7e7df8dd/attachment.html
2006 Mar 03
1
rjs isn''t update_page problems
i have a list of, for example, meal_names. Basically, I can submit a name and the name I add shows up in the list.I had this working wehn i created an actual add.rjs template for it. So feeling good about my self, I attempted to move it all to the controller and use some update_page goodness. Now it the ajax middle doesn''t happen. I don''t get any errors but the list
2006 Jun 22
0
sortable list doesn''t work on production server
I have a sortable list in one of my views, using the sortable example from the recipes book. The sorting works great on my mac. When I throw it on the server for testing it doesn''t save the display order. I cracked open the log file and see that it''s not even returning the id''s like it should: Parameters: {"action"=>"sort",
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
Moved the node administration elements to a separate submenu. Created a new network administration menu. * users can define a network * users can create a network * users can destroy a network * users can undefine a network * users can list existing networks, including details Each new command is also available as a separate command line executable as well. Signed-off-by: Darryl L. Pierce
2010 May 25
2
Site Navigation With Polymorphic Has Many Through
Hi, seem to keep running into a wall here. I can''t find any resources on site navigation that can deal with any model being in the nav, allow nesting, and can dynamically update. So I thought about it for a while, and decided on a MenuItems class, which contained the position of the child in relation to it''s siblings, where the parent and the child were polymorphic. Then a given
2006 Mar 07
3
Can variables in the template be used in the layout?
This may be a silly question, but I''m wanting to develop a query to pull ''related articles'' based on tags. When a user clicks on an article to read, on that layout, I want a side menu to have the related entries. If I develop the query to do this, can I access the current tags for the entry in the layout? I guess I''m asking, does <% content_for_layout
2020 Jul 28
2
Phabricator down for maintenance tonight
Could we ever consider adding https://github.com/r4nt/phabricator/tree/llvm-production as a new read/only observe Diffusion repository in reviews.llvm.org? I'd be happy to do code reviews? MyDeveloperDay On Tue, Jul 28, 2020 at 8:46 PM MyDeveloper Day <mydeveloperday at gmail.com> wrote: > Awesome, thanks for sharing > > Here is a patch (based off yours) but this adds the
2020 Jul 28
2
Phabricator down for maintenance tonight
On Tue, Jul 28, 2020 at 11:04 AM MyDeveloper Day <mydeveloperday at gmail.com> wrote: > Out of interest are you keeping the local modifications in a fork of the > Phabricator source (llvm-phabricator)? Firstly we should be keeping any > changes we make in source control but also it's good to review those > changes. > I didn't innovate, Manuel set it up originally and
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups, thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
2008 Oct 07
0
associations not saved in migration
hi. i''ve got a couple migrations where i''ve added foreign keys and tried to update them via the migration but my items don''t save. i''ve used save! in the hopes that an exception gets raised but no luck. the migrations run without errors but the data isn''t in the db. can anyone point out what i might be doing wrong? thanks! code below. class
2011 Aug 17
1
[patch 1/1] syslinux: add suport for com32 entries in the menu
From: Jorge D Cisneros <jorge.cisneros at hp.com> Problem: The actual code only check for entries with kernel or linux, so this example will not work, this patch is to add support to gfxboot to detect the entry COM32 and use any module, in this case the module is chain.c32 Version: Syslinux 4.04 Example: UI gfxboot.c32 LABEL boot_hd0 MENU LABEL Boot from first hard drive COM32 chain.c32