similar to: Using delegate templates

Displaying 20 results from an estimated 800 matches similar to: "Using delegate templates"

2006 Feb 15
5
Formating @content_for_layout
Hi all, I sent a message earlier, so forgive me if you have already read this (I got some cryptic message in German about how my e-mail was not read?). Anyway, I was just wondering if there was any way to format the html that is output using <%= @content_for_layout %> I want to use something like the PHP Beautify. I guess I could write my own, but I was hoping that Rails already had
2006 Mar 01
2
Method Calling Problems
Hi all! I am attemping to call a method inside of my LeviUserController named show_userland from my LeviInterfaceController class. No matter how I do it, I keep getting some type of error. If I make the method a class method, then my render_partial inside of show_userland can''t be found. If i call it using @luser = LeviUserController.new; @luser.show_userland; I get an error with a nil
2006 Feb 14
3
Ruby equivalent to PHP Beautify?
Hi all, I am working on a project in Rails for my senior seminar class. I am fairly new to Rails but I have done a major project, so I know a little. The one thing I cannot find however is a way to make the html code that is output look any cleaner. So, I was wondering if there was a function/library/extension that worked like PHP beautify. Thanks for your input in this matter. I am sure I will
2006 Mar 03
17
RCSS problems
Hi List! Following http://rcss.rubyforge.org/files/README.html, I''m trying to get RCSS to work with Rails. The rcss command itself works fine, but when trying to access http://localhost:3000/rcss/test.css I always get "Unknown action - No action responded to test.css", which I don''t understand since the route and controller are in place. Anyway, hopefully this is
2006 Mar 02
3
plugin versioning
When I install a plugin, does Rails record the version installed anywhere? Maybe I''m not doing it the "right" way, but I''ve excluded vendors from my source repository. I''d like some ''record'' of what plugins are used that is under source control. David
2005 Oct 18
1
Rcss - first public release
Hi All! My first contribution to Ruby/Rails community is ready. Here is short snippet from README as an overview: Rcss implements CSS-SSC (Server-side Constants) in Ruby. Main features: * Create rich CSS files using: - ERB templates - Server-side constants - Server-side classes (preliminary) * Simply add Rcss files to any Rails application * Process Rcss files off-line using command
2006 Mar 22
5
Adding Custom templates?
Hi, does anybody have any pointers on where to look to learn how to write custom dynamic templates? Agile is a little sparse on this (but otherwise superb)! Thanx -- Posted via http://www.ruby-forum.com/.
2006 Mar 04
1
How to install Markaby as a Rails plug-in
After many hours of messing around and researching... I''m still unable to get why''s Markaby installed as a Rails plug-in. The command below is what I keep seeing everywhere: ruby script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk It seems like code.whytheluckystiff.net isn''t responding... Maybe I''m missing something... :) Is there an
2006 Mar 01
4
graphics rendering
Hey Has anyone got a graphics server running alongside ruby on rails? Kind of new to graphics rendering on a web server, so some general tips on a successful direction to go in would be great. I need it for automatic rescaling of images, similar to flickr. Thanks, RGC -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Aug 10
4
mongrel and comet "implementation"
Hey folks, I was playing around with adding Comet (a javascript technology used to receive events without AJAX polling) support to Mongrel. More info about Comet here: http://en.wikipedia.org/wiki/Comet_%28programming%29) I sort of got it working. My code is available at: http;//cyll.org/comet.tar.gz Run comet.rb from inside the directory and point your browser at: http://localhost:5555/ The
2006 Mar 31
6
string interpolation - #{} vs. single vs. double quotes
Could someone point me to documentation that provides a succinct and accurate description of the difference between interpolation using #{}, single quotes, and double quotes ? I imagine there''s a set of precedence rules that govern behavior if/when they''re mixed. I''d like to get clear on this. Thanks, Bill -------------- next part -------------- An HTML attachment was
2006 Mar 06
4
Are views inheritable
Is it possible to use a child model''s controller to impliment it''s parents view before adding its own output ? possibly by the use of super ? _tony -- Posted via http://www.ruby-forum.com/.
2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5. Installed Ruby 1.8.4. Installed rubygems. Installed rails. Created test app to verify that ruby and rails were working. When I attempted to install mongrel via: sudo gem install mongrel I get this error: Install required dependency daemons? [Yn] y Install required dependency gem_plugin? [Yn] y Building native extensions. This could take a while... can''t find
2006 Mar 01
3
Security issue: a user can fill cache with random urls
Say your app responds to : store/show/3 and caching is enable at the store controller level. A route says : map.connect ''store/:action/:id'', :controller => ''store'' All the following urls will be processed and cached (the cache filling with ''page not found'' messages) ! store/foo/bar store/show/090934298234897342
2004 Jul 28
2
Building Samba 3.0.5 on HP-UX 11.11
First -- to avoid the common answers to the 'building on HP-UX' questions that seem to be available on the list and the web: 1) using the depot from the Porting Center won't work, it's well downrev of 3.0.5 and I need to get the new security fixes (so that the security team will go back into it's dark dank den and fear not for the security of our environment) 2) samba.org
2006 Feb 27
8
Newbie question - Automatically update _form.rhtml?
Hi all, I''ve got an odd issue. I''m new to Ruby/Rails and have a bit of a silly question. I''m following along with the nice little tutorial here, to get an idea of the system: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3 However, I''m running into an issue where the author adds a new field in his database, refreshes the browser and shows
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:
2006 Feb 02
19
No more logs after SVN?
Hello, Yesterday I "subversioned" my app using svn and now everything works fine except I don''t see any log entries in development.log? What would cause the log entries to be not produced anymore? Thanks Frank --------------------------------- Bring words and photos together (easily) with PhotoMail - it''s free and works with Yahoo! Mail.
2006 Feb 22
5
svn externals and Edge Rails
Hi all: I am considering using edge rails so I can use join tables. I want to use svn:externals to manage edge rails, however I want to understand it more before I go and set everything up. so everytime I commit my app it will pull the most recent version of rails from the svn repository, right? What if the current version of rails is unstable, is there a way to rollback edgerails and NOT my app?
2006 Jan 22
2
Using register_template_handler to serve CSS files (Making ActionView handle .css as .rhtml)
Hi, I wanted to be able to use some Rails code inside CSS files, so I set up a controller (StylesController) to serve CSS files that reside inside the controller''s view folder when the browser requests /stylesheets/:action So in the controller I just define empty actions with the names I want my style sheets in (ie: def cooleffects end - that would respond to