Displaying 20 results from an estimated 100 matches similar to: "RequireResourceHelper for JS and CSS"
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
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with
JavaScript. This happens, because the various helper methods work only
locally and simply append to the output.
In order to hide the JavaScript away, rendering would probably have to
be changed. A way I can think of is that a page-specific script is
included in the head of the document and JavaScript code is not written
to the
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.
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
Im having an issue that seems to only happen when trying to use a
transaction. Ive used transactions many times in the past and Im at a loss
as to why im getting the stack level too deep problem.
SystemStackError - stack level too deep:
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:70:in `''
I have a StackOveflow with more detail -
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 Feb 21
4
Select error
This code:
<p>
<label for="resource_type">Type</label><br/>
<%= select(:resource, :type, %w{ Web Data }, { :include_blank => true
}) %>
</p>
Produces this error:
TypeError in Resources#new
Showing app/views/resources/_form.rhtml where line #6 raised:
wrong argument type String (expected Module)
Extracted source (around line
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
The recent refactoring didn't work properly for new smart pools, so I've cleaned jup the parameter handling for the various pool 'create' actions.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/hardware_controller.rb | 5 +----
src/app/controllers/pool_controller.rb | 6 ++++--
src/app/controllers/resources_controller.rb | 6
2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
Adapt to the API changes in the newer versions of the Zend framework, in
particular regarding:
- strings handling
- resources handling (used for the guestfs_h pointer)
- iterating in hash maps
- data types for function arguments
Introduce helper macros to reduce greatly the amount of #if's all around
the generated C code.
---
generator/php.ml | 96
2012 Jul 12
15
How can I list classes available on the puppet master?
Is there a way to get a list of all the classes available from the puppet
master?
I have 2 goals for this - one is documentation in a human readable form,
and the other is potentially importing that data into dashboard.
I did find some info on the rest API
(http://docs.puppetlabs.com/guides/rest_api.html#resource-types ) but I
can''t make any sense of the output from it.
Thanks.
2006 Jan 08
3
Family Connection 1.1.2
== What is Family Connection? ==
Family Connection is an easy-to-setup online hub for your family that
includes a Family News section with Photos, and an Address Book.
For more information, visit http://familyconnect.rubyforge.org/
== Downloads ==
Latest:
svn checkout svn://rubyforge.org/var/svn/familyconnect/trunk
Version 1.1.2:
svn checkout
2013 Feb 22
6
Finding a manifest full file name (with path) in a function?
I''m trying to create a function that I can call in a manifest like this:
$doc = doc(''apache::service'')
In the function, I want it to actually find the filename for the
''apache::service'' class... from there, I''m going to run some code that will
generate the puppet-doc in text format, and then return it in a variable.
Ultimately this is so
2006 Feb 22
2
Select menu validation
Is there a trick to validating select menus? I have this rule:
validates_presence_of :title, :type
:title is a text box and validates correctly but :type doesn''t:
<p>
<label for="resource_type">Type</label><br/>
<select name="resource[type]" id="resource_type">
<option value=""
2014 May 16
0
(Beginner) ActionController::UrlGenerationError - No route matches
(Using Rails 4.1.1 with Ruby 2.1.1 on Mac OSX 10.6 Snow Leopard)
I'm doing a Rails tutorial (in case you are interested in: It's
http://guides.rubyonrails.org/getting_started.html), and I'm stuck on
the following:
I create in some erb file a link using
<%= link_to 'Add new weird stuff', controller: new_article_path %>
and this raises the exception
2013 Nov 26
37
get a *structured* version of the puppet agent output
puppet agent --verbose shows a verbose output of the changes done by
puppet, such as:
notice:
/Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner:
owner changed ''root'' to ''logstash''
notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed
''stopped'' to ''running''
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
2013 Jan 29
7
stuck installing puppet in RHEL 5
Hi All,
Im trying to install but with no luck. Any idea what I did wrong ?
** mkdir -p /var/log/pe-console-auth
** touch /var/log/pe-console-auth/cas.log
** touch /var/log/pe-console-auth/auth.log
** chmod 770 /var/log/pe-console-auth
** chmod 660 /var/log/pe-console-auth/auth.log
** touch /var/log/pe-console-auth/cas_client.log
** chmod 660 /var/log/pe-console-auth/cas_client.log
** chown -R
2011 Feb 22
1
ANNOUNCE: Puppet 2.6.5 - Release Candidate 5 available!
We''re back with a maintenance release: 2.6.5. This release addresses a
number of bugs in the 2.6.x branch and adds a handful of features and
documentation updates.
This release candidate contains fixes for bugs identified in the
previous release candidates:
- rc1 caused a warning on Ruby 1.8.6 which could cause log pollution. This
release candidate no longer generates the warning.
- rc1
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with -strict
errors.
This addresses Greg's comment: On 15 Nov 2012
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with -strict
errors.
This addresses Greg's comment: On 15 Nov 2012
2011 Feb 04
1
ANNOUNCE: Puppet 2.6.5 - Release Candidate 1 available!
We''re back with a maintenance release: 2.6.5. This
release addresses a number of bugs in the 2.6.x branch.
2.6.5 is a maintenance release in the 2.6.x branch and it contains only
bug fixes, documentation updates and a small handful of features.
The first release candidate is available for download at:
http://puppetlabs.com/downloads/puppet/puppet-2.6.5-rc1.tar.gz
We''re