Displaying 20 results from an estimated 110 matches similar to: "user engine question"
2006 Apr 18
4
update_page yields escaped code in callback
Hi All,
The subject pretty well describes what I am experiencing. This line in
an .rhtml template:
<%= link_to_remote menu_item.humanize,
{:update => ''section'',
:url =>{:controller => menu_item},
:complete => update_page do |page|
page.activate_tab("#{menu_item}_tab", ''menu_'')
page[''section''].hide
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 => {
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 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",
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'':
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
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 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is
going to be for existing apps? I''m finishing up my first real RoR
application with Rails 1.0. I can live with it staying at that level,
but I really want to use the has_many :through attribute to clean up
some of my code.
I''m not particularly interested in edge Rails, mainly because the
documentation for
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
2006 Jun 22
4
Authorization Plugin 1.0 release candidate + 3 test apps
In honor of RailsConf, I''m releasing an authorization plugin with 3
test apps that show you how to use the system. A reasonably lengthy
description can be found here:
http://www.writertopia.com/developers/authorization
I will also be talking about the plugin''s architecture in my RailsConf
talk on Saturday.
Some features:
- Nice English-like way of expressing permissions through
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
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
2008 Mar 15
3
Message: "HTML rendering is currently disabled"
I have installed Firefox and IE 6 as well as Quicktax 2007 under wine 9.57. Firefox works OK, but I cannot start either IE6 or Quicktax. The first few messages on the console when starting IE6 are:
fixme:shell:StopWatchMode () stub!
fixme:ole:CoResumeClassObjects stub
fixme:shdocvw:go_home stub
fixme:urlmon:URLMonikerImpl_BindToObject use running object table
fixme:win:WIN_CreateWindowEx Parent
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,
2005 Dec 22
2
ACL Navigation Links
I''m currently using the ACL (Access Control Lists) system in my app.
The access control is working great, but I''d like to use the
permissions/roles setup in the database to hide links to areas a user
may not have access for automatically. I''m guessing that you could
setup a helper function to use instead of link_to and have it check
the permissions, but
2006 Aug 10
2
Authentication: UserEngine or own creation?
Hi all
I''m coding a project that needs a lot of authentication stuff... e.g. I
write sort of a profile area, where users can create their different
profiles.
So I need to check if a user has the right to browse the profiles, if he
has the right to change them all (as an admin) or the ones that belong
to him etc. etc. This needs quite some logic...
Now I wonder whether to use the
2010 Jan 15
5
wine iexplore white screen of death
On a fresh Ubuntu, sudo apt-get install wine
wine iexplore yields a white screen of death with a title bar for Wine.
I tried winecfg and tweaking settings, and I can get a desktop with IE WSOD again, so no real progress.
The shell outputs a ton of errors/debug info, pasted below...
What have I done wrong?
wine iexplore
fixme:ole:CoResumeClassObjects stub
fixme:shdocvw:go_home stub
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