Displaying 20 results from an estimated 100 matches similar to: "routing issue with mounted engine - Rails 3.2.8"
2012 Nov 02
1
[Rails 3.2.8] issue in regex scan
running a scan in irb is fine :
1.9.3p194 :001 > request_url =
"http://lvh.me::3000/en/backoffice/cms-admin/site/6/pages"
=> "http://lvh.me::3000/en/backoffice/cms-admin/site/6/pages"
request_url.scan(/^([\S]+)(backoffice\/cms-admin\/site\/)(\d+)(\/pages)$/)[0][2]
=> "6"
however running it in my controller doesn''t gives any result :
(rdb:1)
2009 Sep 30
2
What is this view syntax? Old beast forum code...
Hey folks
A long time ago, before i started working at this company, we used a
Beast forum. The beast code (models, controllers and views) were all
just lumped in with our app code, but when we moved to a new version
(about a year and a half ago) the forum section of our site was closed
off (simply by not linking to it anywhere).
I''ve been tasked with resurrecting it, and the first
2011 Aug 25
1
Devise + Forem: undefined method weeks on Fixnum
I''m getting the following message when trying to start Webrick or
console.
... devise-1.0.11/lib/devise.rb:89:in ''<module:Devise>'': undefined
method ''weeks'' for 2:Fixnum (NoMethodError)
After trying to upgrade my app to Rails 3.1 (edge) so that I may use the
Forem engine.
I''m under the impression this error is occurring because
2012 Oct 06
1
how to scope the /auth/:provider/callback , using OmniAuth for users and members
I have two separate groups of people authenticated w Devise , but in
this case I cannot used the Devise embedded OmniAuth support. So i am
using directly the OmniAuth gem.
Initialized w :
Rails.configuration.middleware.use OmniAuth::Builder do
..provider :twitter,
..
end
It''s running fine , but I have an issue with the callback route
mapping :
I tried
match
2012 Feb 03
1
Forum in rails 3
Hi All
i want to integrate forum in my web application.
so does have any gem that good for me ?
thank
sreng
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2004 Mar 15
0
AW: Problem with NT-Groups
Update:
found the following after raising the log level = 3:
[2004/03/15 14:18:50, 3] lib/charcnv.c:convert_string_internal(221)
convert_string_internal: Conversion error: Illegal multibyte sequence(?)
[2004/03/15 14:18:50, 3] lib/charcnv.c:convert_string_internal(221)
convert_string_internal: Conversion error: Illegal multibyte sequence(?)
[2004/03/15 14:18:50, 3]
2006 Jan 02
3
best to integrate dynamic navbar into layout
I''ve been trying to come up with a good way to integrate a dynamic
navbar into my layout. By dynamic, I meas that each link has 3 images.
Normal, rollover, and dark for the current page. I have it working but
it seems like there should be a better way. Here is how I did it,
please let me know if there is a better way. Rails makes so many things
simple, that this seems very
2020 Jun 07
1
Navbar for documentation is broken in Doxygen 1.8.18
Hi,
Here is a patch to update documentation to Doxygen 1.8.18 as the navbar is broken trying to use the latest Doxygen.
Also seems we are missing documentation for last releases here:
https://www.opus-codec.org/docs/
Best Regards Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Dec 30
2
CRAN link broken
The packages link on CRAN (http://cran.at.r-project.org/) seems to be
broken.
Paul
Object not found!
The requested URL was not found on this server. The link on the
referring page<http://cran.at.r-project.org/navbar.html> seems to be
wrong or outdated. Please inform the author of that page
<http://cran.at.r-project.org/navbar.html> about the error.
2008 Oct 16
3
Rails: View specs and implicit parameters in link_to()
Hi all,
I''ve been cleaning up our routing file, and removed the default
map.connect ":controller/:action" route.
It''s thrown up a bunch of sloppy mistakes, which is great, but I also
think I''ve found a problem with the view specs.
We have a generic navbar partial which is rendered in the index page
of several different controllers. The navbar contains
2006 Feb 27
0
application helper and tri-state images
I''ve come up with a very hackish way of creating a tri-state image
navbar. I don''t like it but it works pretty well. I would love to know
the ''rails'' way of doing this or even just a suggestion. Here''s my
helper.
module ApplicationHelper
# we use this function to create the tri-state image with rollovers
# todo I need to use a good css trick
2006 Mar 24
3
Changing sidebar in layout per controller
I am currently using 2 layouts in my site. One is for the admin area. I
am trying to get content in my sidebar to change depending upon the
current controller.
Example:
Within admin I have a users controller and a articles controller. When
in the users view I want the sidebar to display options (like add user
delete user etc).
What is the best actionview way to do this. I don''t
2008 Jan 13
2
access to webpage code
dear R user,
I need a function that download the code of web page as html, to further
parse it.
something like
>site="http://www.R-project.com"
>code=function(site)
>code
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The R Project for Statistical Computing</title>
<link rel="icon"
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
Missing are capitalization/formatting of data type & function labels,
as well as addressing the unit labels for the y-axis.
---
src/flexchart/flexchart.mxml | 4 +
src/flexchart/org/ovirt/Constants.as | 17 +++
src/flexchart/org/ovirt/charts/BarChart.as | 155 ++++++++++++++++--------
src/flexchart/org/ovirt/charts/HostChart.as | 42 ++++++-
2013 Jun 12
0
debug(session) output help
Can anyone tell me how to get line breaks in the debug(session)
output...
application.html.erb:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<title><%= full_title(yield(:title)) %></title>
<meta name="description" content="<%=
2007 Nov 15
3
modern-CentOS-1.7-2
Hi,
the layout on wiki-m.centos.org looks pretty convincing to me, now.
Two things:
<http://people.centos.org/~ralph/pagetrail.png> - the pagetrail stuff
isn't readable at all.
I propose the following patch to screen.css:
-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<
--- screen.css.orig 2007-11-15 12:35:59.000000000 +0000
2015 Jan 02
2
http://www.centos.org/ Help menu anchor
On http://www.centos.org/, the Help in the navbar is described by the anchor
<a href="http://wiki.centos.org/Documentation?action=show&redirect=GettingHelp
<view-source:http://wiki.centos.org/Documentation?action=show&redirect=GettingHelp>">Help</a>
Why does it contain ?action=show&redirect=GettingHelp ? It seems
to me Documentation would be
2007 Aug 01
4
Extracting a website text content using R
Dear useR,
Just wandering whether it is possible that there is any function in R could
let me get the text contents for a certain website.
Thanks a lot!
Best,
Leon
[[alternative HTML version deleted]]
2008 Dec 17
2
Help with link_to and its kin
Hi Everyone
I am a new user of Ruby and Rails, and would like some help with the
following problem.
I have created a navbar with a styled unordered list and I would like
to apply class="current" to the tab for the current page.
Currently I am using a large, cumbersome and ugly if..then block,
rendering the class="current" into the html and link_tos with
current_page?.
I am
2007 Jun 06
1
"selected" in form.select
I have a search form in my navbar where a user can select in which
area he wants to search. After clicking the submit-button the
results get rendered but the previous selected area is no longer
selected.
<%= form.select (:suchfeld,
[ [''Beschreibungen'',''description''],
[''Headlines'',''headline'']] )
%>
I was able to