similar to: REPOST: fallback layout mechanism

Displaying 20 results from an estimated 8000 matches similar to: "REPOST: fallback layout mechanism"

2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X Leopard: /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined method `time_zone='' for #<Rails::Configuration:0x12c9f24> (NoMethodError) from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'' from
2004 Nov 16
3
How to access samba without login prompt. !
Dear Sir, Hello, My name is kenneth Yeung. I wonder to know how to configure samba or window to access samba folder without login prompt. ! I am using Wins 2K for client, and Linux server is set samba server. I can login to samba using username and password, but I want to do a windows backup schedule task without prompt. login window ! Could you tell me the method to do this task. Thank you for
2009 Mar 21
2
factor with numeric names
Hi all, I have a pretty basic question about categorical variables but I can't seem to be able to find answer so I am hoping someone here can help. I found that if the factor names are all in numbers, fitting the model in lm would return labels that are not very recognizable. # Example: let's just assume that we want to fit this model fit <- lm(height ~ age + Seed,
2012 Nov 28
1
Build error of NSD4 on Debian Squeeze
Hello World, I am trying to build NSD4 on Debian Squeeze and I get the following errors when running `make`. ``` $ pwd /home/wiz/src/nsd/tags/NSD_4_0_0_imp_5 $ make [... output omitted ...] gcc -g -O2 -o nsd-checkconf answer.o axfr.o buffer.o configlexer.o configparse acket.o query.o rbtree.o radtree.o rdata.o region-allocator.o tsig.o tsig-opens 4_pton.o b64_ntop.o -lcrypto configparser.o: In
2004 Jan 26
3
Fortran source code
Hi, I am wondering if it is possible to view the Fortran source code called by R functions. In particular, I am interested in the "leaps.setup" function in a package called "leaps", which calls Fortran functions "ssleaps", "initr" etc. Any help would be greatly appreciated. Ka Yee Yeung Bioinformatics Scientist Dept of Microbiology University of
2011 Jan 19
2
xyplot question
Hi all, I had a weird problem with xyplot and I am wondering if anyone can help me figure out what's wrong here. Basically if I call xyplot() inside a function and I call quartz() after, then the previous xyplot() does not do anything. A short demo of the issue is like this: library(lattice) plot.trends <- function() { mat <- data.frame(cbind(rnorm(100), rnorm(100))) names(mat)
2009 Mar 26
1
Turning off the layout in ActionMailer?
So I''m happy to see that ActionMailer supports layouts now (it may have for a while, but I just now realized it). But I don''t see a way to turn them off selectively or by multipart type. For example, if I have a layout that''s really simple in "layouts/ email.html.erb": <div style="border:1px solid gray"> <%= yield %> </div> I
2003 Jul 15
5
passwd program not called as root
Hallo to everybody out there, I have downloaded and compiled Samba3b2 on a SuSE 8.2 machine. For testing purpose, I connect to this machine with a Win2k-Box ... most things seem to work fine, but I am unable so change passwords from the win-box with unix password sync enanbled. I changed loglevel to 103 and enabled password chat debug. From what I found in the log-files, I can conclude that
2011 May 21
2
How do you create a sub-layout or a partial that wraps a lot of custom html?
Basically I''d like to create a layout inside of a layout using erb. Something like this: <%= render :partial => ''support'' do %> <div id="helpDocumentView"> <h3><%= @help_document.question %></h3> <%= @help_document.content %> <div id="helpDocumentHelpful" data-help-document-id="<%=
2011 May 26
8
Is there a way I can create a sub-layout with ERB?
I have 2 pages that have almost the same content except for stuff in the middle. I''d basically like to have a sub-layout that wraps the content that is different - exactly the way a normal layout file would. How can I call into a layout inside of erb? I''d like to do something like this: <%= render :sub-layout => "reusable-wrapper" %>
2006 Mar 23
5
Dirt simple .rcss templates
There was some discussion on this list recently about doing .rcss templates in Rails using a custom template handler. I''ve come up with a very simple way to support rcss without a handler. Turns out all it takes is a route and an action that calls render(:file...). I put a full write-up on my blog earlier today:
2009 Nov 22
1
Metaplot Axis Annotation
Hello, We are looking to adjust the font size of the axis annotation on the graph that results from use of the metaplot() function. Metaplot seems to respond to cex and cex.lab to change those graphical parameters, but it doesn't respond to cex.axis. Is there a way to work around this by creating a customized x-axis, and if so, how? Thanks for all your help. Syntax is below. Best, Dawn
2008 Apr 02
9
application.html for website in 2 languages?
Hello, I''m a newbie on the rails environment. I''ve just created an application.html.erb to have the same layout on all pages but the site will be available in 2 different languages, then with 2 different layouts. Then I would like to have an application.html.erb with the layout in French and an application.html.erb with the layout in English. Thanks you for your help, --
2008 Sep 17
2
Layouts and content_for
when i studied the tutorial about layouts & content_for from railscast.I need a clarification as per their tutorial. url:http://railscasts.com/episodes/8-layouts-and-content-for <!- projects/index.rhtml -> <% content_for :head do %> <= stylesheet_link_tag ‘projects’ %> < end %> <!- layouts/application.rhtml -> <head> <title>Todo List</title>
2003 Jun 09
3
Samba3.0beta1 as PDC with LDAP
I finally got Samba-3.0beta1 as PDC with LDAP backend. However, I need to specify: passdb backend = ldapsam smbpasswd:smbpasswd guest and have the root account's exists in smbpasswd file. I still could not get a uid=root entry in LDAP to allow client workstation to join the domain. When in samba-2.2.8a I could use a fake rid=506 with uidNumber=0 entry in LDAP (as a SambaAccount) and it
2008 Dec 03
2
Rails functional test how to assert json result?
As title, I want to have my functional test check results from a json render result, how can I achieve this? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this
2006 Jun 22
5
Problems with layouts
ruby script/generate controller Tools::Search - ok in views/layouts/application.rhtml: <%= render_component :controller => ''tools/search'', :action => ''searchbox'', :params => {:context => ''header-section''} %> in
2007 Oct 09
23
Testing layouts with RSpec on Rails
Hey guys, Does anyone have any wisdom to share on the subject of speccing Rails layouts? Most of it''s plain old view specs stuff, but are there sensible ways to verify things like the yield call? (Mocking doesn''t catch that) Thanks, Matt -- Matt Patterson | Design & Code <matt at reprocessed org> | http://www.reprocessed.org/
2012 Jul 06
0
[Bug 2011] sandbox selection needs some kind of fallback mechanism
https://bugzilla.mindrot.org/show_bug.cgi?id=2011 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Blocks| |1986
2015 Aug 11
0
[Bug 2011] sandbox selection needs some kind of fallback mechanism
https://bugzilla.mindrot.org/show_bug.cgi?id=2011 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Damien Miller <djm at mindrot.org> --- Set all RESOLVED bugs to CLOSED with