search for: breadcrumbs

Displaying 20 results from an estimated 68 matches for "breadcrumbs".

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
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
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 Apr 21
0
Is it possible to generate a breadcrumb from Rails controller?
Dear all, Is it possible to generate a breadcrumb from Rails controller without using any additional plugin? What methods should I look into to be able to generate breadcrumb in Rails? Thank you very much in advance for your assistance. Kind regards, Joshua -- http://twitter.com/scrum8 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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
2007 May 03
6
RSpec 0.9.2
Behind every great release is a maintenance release. Go get it while it''s hot. We''ve also reworked the website a little - trying to scare off fewer people. Aslak
2013 Oct 08
0
PostGIS 2.1 rasters available to Rails code: breadcrumbs
Just wanted to post this in case someone else was faced with the same problem. It''s database-specific code, worse, it''s specific to a particular * version* of a particular *extension* to a particular database, wires in SQL, and uses eval on a string of data from the database! So, you know, I''m getting coal in my stocking from DHH this year. I can deal. (After the
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 breadcrum...
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 a partial rendered in a layout? The ActionController::Layout::ClassMethods explains that data in a view is s...
2008 Mar 12
1
Testing helper methods in rspec
This is perhaps a naive question, but what is the recommended manner of testing a helper method in rspec? I have created a simple string manipulation function and I want to write some tests for it. It it were a script then I would just add if __FILE__ == $0 and add the tests below that but I do not feel that this is the best way to handle a rails helper. The code (I said it was simple) :
2009 Jan 18
3
ActionMailer and url_for in helper methods
...to work inside ActionMailer. I did research on the web but I can''t seem to find something that fits what I need. In my application, each user can specify their custom domain to access their. I have an ActionMailer that sends them notifications of changes that occur. In there, I have a breadcrumbs helper method, which generages something like: <a href="/page/1">1</a> &gt; <a href="/page/2">2</a> I need it to be: <a href="http://customdomain/page/1">1</a> &gt; <a href="http://customdomain/page/2">2&...
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
2006 Jul 28
11
Forum
Im making forum and i have problem with paths. Here is code: http://pastie.caboo.se/6389 With this code, it works. But its a bit weird to use so many paths function. For every path i need to make new function. So can you suggest me something. Tables are like here: http://wiki.rubyonrails.com/rails/pages/ForumExample -- Posted via http://www.ruby-forum.com/.
2011 Mar 18
3
[LLVMdev] Reversing a function's CFG?
Hello, I was wondering if there was a quick way to reverse a function's CFG and, in turn, all basic blocks within it. Assuming all variables are globals, is there a quick way to generate a function's reversal? I highly doubt such functionality exists but I figured it was worth asking. I'm trying to develop an "undo function" generator pass that would be able to restore
2011 Feb 28
2
[LLVMdev] llvm-diff
...try something this week... Btw, I want to use a graph data structure (like Boost's) to put the metadata in and be able to assert A == B and recurse the graph to make sure everything is equals in A to B, but avoiding re-reading cycles (recursive types). Essentially what I need is a graph with breadcrumbs, is there anything in LLVM that does that? I've seen some graphs to hold types (the type resolution Chris was talking about) and other bits, but all of them are strongly typed (ie. no template parameters to use my own types, or MDNode*)... If not, I believe boost is out of the question, so I w...
2006 Jun 26
0
Update_attributes working, or not? I can''t tell.
...have a basic login system implemented. I''ve recently added a timestamp field "last_activity_time". During the login process, if I successfully get back a user object, I do this: user.update_attribute(:last_activity_time, Time.now()) It appears to be successful given the breadcrumbs I''ve strewn around it, but nothing gets written out to my table. In development.log I see this: Updating record {:last_activity_time=>Mon Jun 26 11:19:00 EDT 2006} Upated record (Where Updating/Upated.. are my breadcrumbs). I''m wondering, are the underscores screwing it...
2011 Mar 23
0
[LLVMdev] Reversing a function's CFG?
...t with a >> bitfield to remember which path you took so the reverse handler can find its >> way back. So we're basically saving our control state as opposed to our >> data state as the control state is often significantly smaller. I like to >> think of it as a trail of breadcrumbs. Using different approaches we can >> handle loops, ifs, switches, etc. by following our "breadcrumbs" back. >> >> Reversing the CFG is just a piece of the puzzle. To generate our reverse >> handler, I thought a good place to start would be the reverse CFG. >&...
2018 Aug 16
2
Xenial rpart package on CRAN built with wrong R version?
...rpart package in R: Not quite sure if this has been resolved. I can confirm that the Xenial rpart packages on the RRutter3.5 PPA is indeed built against R 3.5. The rpart packages on CRAN is the same as on the PPA, so I believe this is an isolated incident. Sometime the dist-upgrade leaves a few breadcrumbs that need to be cleaned up. If all else fails, remove the installed rpart package, download the correct binary from CRAN or the PPA, and install with dpkg. Hope this helps, Michael _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian at r-project.org<mailto:R...
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
2006 Aug 15
5
Set up a default route
Phlip wrote: > Can I fix it by adding a view called ''inventories''? That worked, because I have a sufficiently late version of MySQL. Next question. What does "Set up a default route" mean? When I read... http://wiki.rubyonrails.com/rails/pages/Routes ...it reminds me of the Apache documentation for mod_rewrite. I hope someone appreciates the candor of my