similar to: Is it possible to generate a breadcrumb from Rails controller?

Displaying 20 results from an estimated 20000 matches similar to: "Is it possible to generate a breadcrumb from Rails controller?"

2006 Mar 22
2
Nice breadcrumb navigation component?
Anyone aware of a Rails-based component/framework to allow for easy "breadcrumb" navigation links? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2010 Mar 08
0
Instantiating Controller Object on Rails3 for unit testing
Dear all, I am experiencing this error when doing unit testing: Authlogic::Session::Activation::NotActivatedError: You must activate the Authlogic::Session::Base.controller with a controller object before creating objects I know this is not an error from Rails but I encounter this when doing unit testing in Rails. This error happenned because my model has dependencies to 3rd Party library named
2010 Jul 27
0
in production environment Rails 2.3 always ask for helpers
Hi all, When I deploy my rails apps in production, it will barf out an error message if my controller does not have any helper. But this does not happen in development environment. Is there something that I can configure through rails so production does not ask for helpers for every controller? Thank you very much in advance for your help. Kind regards, Joshua. -- http://twitter.com/scrum8
2011 Oct 08
1
Rails view spec expectations/matchers
>From looking at the RSpec Rails documentation (https://www.relishapp.com/rspec/rspec-rails/docs/view-specs/view-spec) it seems like rendered is just a string and you can''t really do any assert_select type stuff out of the box. After Googling around, it seems that the RSpec authors decided that if you want that functionality, you should just use Capybara or some such... is that
2010 Aug 03
0
how to create local subroutines properly in rails?
hi guys, Using breadcrumbs on rails (http://github.com/weppos/ breadcrumbs_on_rails), I have added a method, "set_breadcrumb" in my application controller. That will set up my home breadcrumb. In my other feedbacks controller, I have the same "set_breadcrumb" method (in a before_filter). The breadcrumb added here is called "feedback". the problem is that when
2006 Feb 22
2
Newbie seeks helps ordering ancestors from acts_as_tree
I''m sure this is really obvious but I''m feeling my way here with rails (and Ruby) and have tried a couple of things without success. So, can anyone tell me the best way to reverse order the retuen list of ancestors. In the controller I have: @ancestors = @category.ancestors which returns an array starting at the parent and ending with the root. When I then loop through the
2006 Mar 17
10
breadcrumbs?
Before I start down this road, has anyone done a breadcrumbs implementation they''d be happy to share? Thanks Chris T
2008 Aug 16
2
Partial site generation
Thank you for providing excellent tools. I''d like to know about the partial site generation provided by webgen 0.5.2. http://rubyforge.org/forum/forum.php?forum_id=26516 > When a file that was in the menu changed, all files which > included a menu with a link to this file got regenerated, > too. However, that was not always necessary since the content > of the changed file
2007 Nov 01
1
How to pass data from a view to a partial rendered in a layout?
In the application I''m working on, a layout renders a partial that displays a breadcrumb navigation bar across the top of a page. In other words, the layout renders a partial that displays breadcrumbs. But the navigation bar rendered by a partial in a layout needs to use data from the view to determine which breadcrumbs to display. My question is: how can data be passed from a view to
2009 Apr 27
0
Rails on amazon EC2
Dear all, Is there anyone that deploys their Rails apps on amazon EC2? I read from AWS website that they have Rails on EC2. Can anyone that use Amazon services share their experience with Rails on EC2? Thank you very much -- If you can''t believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow us on twitter:
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello! i got this forum powered by apache and mod_rails lately when i create / edit posts, i get plain html text showing up instead of the actual page. here''s what i see: -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL %250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2020 Aug 06
0
Is it possible to use Stasis to control both legs of a Local channel created using ARI?
On Thu, Aug 6, 2020 at 1:52 PM Dan Cropp <dan at amtelco.com> wrote: > I understand how to control the first local channel, but an having trouble > getting the second local channel to enter stasis. > > > > I setup have the following extensions.conf to handle 1000 (basically had > it setup so if first stasis not there try second, but believe second > channel never
2012 Jun 11
0
[LLVMdev] Is it possible to generate a Clang annotated AST?
Hi, using the current version from the repository on Debug+Asserts mode I was able to generate Clangs AST on Gnu gv, however I noticed the tree provides no annotation to which part each statement it is referring to. For example, when it says binary operator I would like to know to which binary operator is it referring to. Is this possible with clang? I am using the ast-view option from cc1. As
2010 May 23
1
Is it possible to generate an error when a function is reassigned?
Hello All, length() is a function. If I accidentally assign something else to length, it will give me some unexpected results. Although the freedom to redefine any funcion maybe good in sometime, it may be unwanted in many other cases. Is there a way to forbidden such changes on functions? -- Tom
2019 Oct 10
2
Is it possible to generate a whole kernel bitcode for Linux using clang?
Hello, With clang/llvm 9.0 adding support for ASM GOTOs, it is now possible to compile the latest Linux kernel with clang without any modification. However, is it possible to generate a single bitcode for the whole Linux kernel? Earlier approaches would involve hacks, like compiling separate bitcode files and then linking with llvm-link, or using wllvm, or using some other wrapper. Frequently,
2019 Jan 18
2
Is it possible to generate the IR representation with the original macro information?
Hi, I use the following commands to compile the IR. But I don't see the macro information in the .ll file. Is there a way to preserve the macro information (print() in this case) for debugging purposes? $ clang -std=gnu99 -g3 -flto -Wall -pedantic -c -o main.o main.c $ clang main.o -flto -fuse-ld=gold '-Wl,-plugin-opt=save-temps' -o main.exe $ llvm-dis main.exe.0.0.preopt.bc /* vim:
2006 Aug 10
2
Is it possible for a controller to throw up a message box?
I need my controller to give some feedback to the user by popping up a message box. Does anyone have any ideas how this can be done? Thanks --John -- Posted via http://www.ruby-forum.com/.
2007 Jun 29
0
webgen 0.4.5
Hey everybody! -------------- I just release a new webgen version which fixes some bugs and brings one new feature: customizable links to any file handled by webgen. Have a look at http://webgen.rubyforge.org/news.html to see a complete list of changes! Best regards, Thomas What''s webgen? -------------- webgen is a tool to generate static websites by combining content with
2006 Jan 14
1
controller_path says undefined local ....
undefined local variable or method `controller_path'' Do I need to install anything explicit? For the nosies, I''m looking for (building) a breadcrumb routine (as page independant/DRY-less as possible). Like "mods > crm > customer > add contact" Regards, Gerard -- "Who cares if it doesn''t do anything? It was made with our new
2006 Oct 02
0
list of methods derived from associations?
Hello; I''m at this point essentially a Rails hobbiest: entranced, enthralled, immersed but not writing Rails apps commercially. I am sure my question has been asked and answered but I searched and couldn''t find it, so.... Is there somewhere a list of methods that become available via associations? I was doing a project with acts_as_tree and was struggling with a breadcrumb