Displaying 5 results from an estimated 5 matches for "stylesheet_auto_link_tags".
2006 Jan 03
1
RequireResourceHelper for JS and CSS
...t was
inspired by a portion of code I saw from Demetrius Nunes.
To use it, put the following in your application.rb:
class ApplicationController < ActionController::Base
helper ''require_resource''
end
Then in my layout''s HTML "head" section:
<%= stylesheet_auto_link_tags %>
<%= javascript_auto_include_tags %>
Supposing I am writing an action for WelcomeController called
''index.rhtml'', (and that each of the files actually exists), I can
now assume that this HTML will be present in the layout:
<script src="/javascripts/welco...
2006 May 28
1
Bundled Resource 0.9 dynarch_date_select
I''m new to rails and and am trying to incorporated dynarch_date_select
in my application. I''m using Rails 1.1.2 with Bundled Resource 0.9. I''m
trying the following test:-
<% require_bundle :dynarch_calendar %>
<%= error_messages_for ''t1'' %>
<!--[form:t1]-->
<p><label for="t1_start_date">Start
2006 Jan 27
20
bundled_resource v.0.9
Original announcement at http://blog.inquirylabs.com/ [1]
== What is bundled_resource? ==
If your development is in any way similar to mine, there are a number
of useful resources out there that make web applications shine
beautifully. For example, there?s the Dynarch calendar and the
textarea tools. There are a number of others?too many, in fact. The
problem is that as a web developer,
2006 Jan 20
13
Calendar date picker for use with rails.
Howdy folks,
As I was putting together a rough form for a rails app, I got to
thinking how much smoother (in my siytuation) a little calendar widget
would be than the default date picker selects.
Does anyone know if such a thing exists ?
I suspect it would have to be somewhat designed with rails in mind to
populate the right kind of post params for convenient use at the
controller end.
2006 Jan 10
7
All My Rails Apps Died Over the Holidays
I have several Rails (version 1.0) apps I''m working on on a Win XP box
using Webrick that were working fine before I left for the holidays. I
came back, started up and they all get the same syntax and compile
errors:
compile error
./script/../config/../app/views/time/list.rhtml:4: Invalid char `\212''
in expression
repeated over and over. Refreshing the page gives thes same