similar to: Partials - asked before never got reply

Displaying 20 results from an estimated 3000 matches similar to: "Partials - asked before never got reply"

2006 Aug 10
2
rendering templates from an engine''s app dir
Hi there, i have a rails application which use the active_rbac engine for user and access control. How can I use the original login, etc. forms which were provided with the engine as partials in my application? I''ve tried all of the below mentioned approaches and it seems so that I cannot reach the templates provided under the [RAILS_HOME]/vendor/plugins/active_rbac/app/views directory.
2006 May 11
1
quick link_to question
Hey there, is there a way to include more variables besides the id as a hidden field (to not show in the url) when i''m using :post => true on a link_to() ? Thanks, Andr?s -- Andr?s Tarsoly tarsolya@gmail.com
2007 Oct 26
5
specing rescue, ensure and else blocks of an Exception
Greetings, I''m using rspec with rcov for my applications and there is one issue which I cannot solve nor can find any proper information regarding it: specing what is in a rescue block in case of an exception. I''m using Ruby on Rails and I usually make use of exceptions in my controllers, like the following example: def action @foo = Foo.find(1)
2007 Oct 26
7
Weird failing spec
Hi guys, I have a weird failing spec, for which I just cannot figure out the reason of failure. I''m now rewriting my controller specs based on the advice of David and Ashley, and I got stuck on this (see: [rspec- users] specing rescue, ensure and else blocks of an Exception). http://pastie.caboo.se/111221 I''ve tried everything, like stubbing out :update_attributes! , even
2007 Sep 06
3
no build! on association?
Hi guys, it seems like I missed some trivial stuff going on in edge rails. Can you point me in the right direction about what happened to the build! method? Simple scenario: class User << AR has_many :posts end class Post belongs_to :user end console: >> u = User.find(1) >> u.posts [] >> u.posts.create!({:title => "Foo", :content =>
2006 Nov 04
2
strange errors in dev.log and webserver log
Hi guys, I have encountered a strange error in one of my applications. The details are the following: The application is a very simple one, I have one model, Cards, it has some pretty basic stuff, some after_save methods for saving uploaded files to their places. I have an UI where I can manage the Card records, with the default methods, including ''edit'' cards_controller.rb:
2006 Mar 20
9
jEdit Snippets for Ruby on Rails
----------------------------------------------------- Announcing: jEdit Snippets for Ruby on Rails ----------------------------------------------------- I thought I''d "give a little back to the community" and whip up some SuperAbbrev files for ruby and rhtml that mimic all of the Textmate Rails bundle snippets. Note: This was totally inspired by Textmate and the syncPEOPLE
2006 Oct 30
2
Going back to classic menu from vesamenu.c32
I'm currently building a tree-like boot menu for my network, using pxelinux and vesamenu.c32. I jump from one page to another with "kernel vesamenu.c32" and "append newmenu". However, at some points I'd like to use the classic interface, for example with a distribution install image (in order to have the exact same interface as on the CD). I tried loading pxelinux.0
2006 Jul 09
1
Drop down menu in rails?
Does rails have a nifty utility for creating javascript drop down menus? Thanks for the help. Thank You, Ben Johnson E: bjohnson@contuitive.com O: 800-341-6826 M: 817-229-4258 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060709/869e8e30/attachment-0001.html
2007 Dec 25
5
[Bug 13815] New: Wrong url for http get
http://bugs.freedesktop.org/show_bug.cgi?id=13815 Summary: Wrong url for http get Product: swfdec Version: git Platform: Other URL: http://www.betterworldbooks.com/Flash/output.swf OS/Version: All Status: NEW Severity: normal Priority: medium Component: library AssignedTo: swfdec at
2009 Sep 28
0
Asterisk complaning about no such host -- never asked to contact the host it complains about
Hi, I'm seeing a very strange error when dealing with Diversions. If a call setup to a number comes to an Asterisk server, that server sends a request to a third proxy, that proxy sends the call back with a Diversion flag, Asterisk complains about the host not existing (and the host is the number). Here's the output from the Asterisk CLI with SIP debugging enabled: <--- SIP read from
2007 Aug 13
1
AGI answering the channel even though I never asked it to
I am working on a call-back solution where the initiating call should never be answered. I was doing this simply through the dial plan, sending a progress tone, and then dumping the channel, and firing off a DeadAGI which created a call file to make the callback. Now I've tried extending this so that an AGI is fired first to check for things - like no inbound ANI - and play a
2008 Feb 06
0
gethostby*.getanswer: asked for $FOO, got $BAR
Martin, I see you were already bitten by this with postfix last year. Should we try to come up with a generic rule that matches any application, since this comes from the bowels of libc6? -- Being overloaded is the sign of a true Debian maintainer. -- JHM on #Debian -------------- next part -------------- An embedded message was scrubbed... From: logcheck at toroia.fbriere.dyndns.org
2005 Oct 15
7
You ASKED for an Asterisk book, you GOT an Asterisk book!
Jared Smith, Jim van Meggelen, and Leif Madsen of the Asterisk Documentation Project, in conjunction with O'Reilly Media are pleased to announce the official release of Asterisk: The Future of Telephony on Friday, October 14, 2005 at AstriCon 2005 in Anaheim, CA. In the true spirit of Open Source, the authors and O'Reilly Media have published the book under the open, Creative Commons
2006 Aug 08
3
Rendering partials based on conditions
Hi, A bit unsure how this gets accomplished - particularly how it might get set up in the layout. Currently - This is my welcome.rthml (what comes up at main page) <% if @u %> <%= render :partial => "main/session" %> <% else %> <%= render :partial => "main/login" %> <%= render :partial => "main/register" %> <% end %>
2006 Aug 02
3
Need help with registration page
I have most of my books open as I''m trying to create this app. Still not sure how to make this work - hopefully some help / hints can get me further. First I used the "authorizing users" recipe from Rails Recipes. Though I did add some more generic type of registration fields (email, address, etc). I want the registration form on the main page(index) of the site. What I have
2013 Nov 01
5
xend with XenAPI in stackless python-2.7
Hi, I am using XEN-4.1.2 and linux-2.6.32 as dom0. After I upgraded stackless python from 2.5 to 2.7 (and rebuilt xen). XenAPI became unusable, I spent some time to investigate XenAPI,py, it looks fine. So, I guess xend has problem with python 2.7, because it always returned method unknown. Do I have to tweak xend to let it support python 2.7? Thanks, Eric /root # python Python 2.7.5 Stackless
2011 Nov 12
2
Got diablo 2 installed but it keeps asking for play disk
When its already inside the comp any idea how to help?Disregard that last thread fixed it and thanks in advance.Latest wine and installed D2 with winetricks
2008 Mar 31
2
Rails and Partials
Excuse my ignorance on partials but..... I am trying to use partials to create a uniform display box built with html tables. The only way I have thought about accomplishing this is to create two partials: _start_box.erb ---------------- <table id="box" width="<%= width %>"><tr><th><%= h(label_text) %></th></tr><tr><td>
2006 Aug 17
1
Mongrel, development mode, and deleting/moving templates
I''m not sure what''s to blame, but it seems that if I delete or move a template, restarting is necessary. For example, I recently moved a partial from app/views/members/_login.rhtml to app/views/members/_login.mab, after which I got a blank-page-of-death. Once I restarted my Mongrel cluster, it worked. Shouldn''t changes like this get picked up automatically in