Displaying 6 results from an estimated 6 matches for "reports_controller".
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and
views and I cannot figure out how to do that. Googling hasn''t turned up
anything useful and I''m looking at the PickAxe book, and I get the
impression that a constant must belong to a class.
If I just want a constant like...
CompanyPhoneNo = "(602) 999-9999"
and be able to use it in any view
2006 Feb 23
5
layouts
I created a controller called reports, for which I didn''t have any model
or tables.
I wanted to use a menu/layout structure similar to all my other
models/controllers and added a layout named reports which then gives me
the menu/layout structure but is also now part of all my reports.
That isn''t gonna work so I renamed reports.rhtml to reports_forms.rhtml
(still inside my
2006 Mar 22
3
strange issue locating a file
...ed on my Centos-4 server.
Any clues ? Both of these systems have the same ''routes.rb''
Craig
$ svn update
A app/models/notifier.rb
A app/models/error_mailer.rb
U app/models/facility.rb
U app/models/placement.rb
U app/controllers/application.rb
U app/controllers/reports_controller.rb
A app/views/notifier
A app/views/error_mailer
U app/views/login/_motd.rhtml
U app/views/placements/_form.rhtml
U app/views/placements/show.rhtml
A app/views/reports/client_list_all.rhtml
U app/views/reports/vo_res_census_all.rhtml
U app/views/reports/rfn2.rhtml
A app/v...
2013 Mar 07
2
Puppet Dashboard changed reports view error
...ews/reports/index.html.haml:22:in
`_run_haml_app47views47reports47index46html46haml''
haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render''
haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render''
app/controllers/reports_controller.rb:25:in `changed''
sass (3.1.2) [v] rails/./lib/sass/plugin/rack.rb:54:in `call''
passenger (3.0.19)
lib/phusion_passenger/rack/request_handler.rb:96:in `process_request''
passenger (3.0.19)
lib/phusion_passenger/abstract_request_handler.rb:516:in
`accept_...
2006 Feb 23
3
rake error
...oller-works.rb (first_time,
not_needed)
** Invoke app/controllers/search_controller.rb (first_time, not_needed)
** Invoke app/controllers/application.rb (first_time, not_needed)
** Invoke app/controllers/placements_controller_ez_ware_in_progress.rb
(first_time, not_needed)
** Invoke app/controllers/reports_controller.rb (first_time, not_needed)
** Invoke app/helpers/reports_helper.rb (first_time, not_needed)
** Invoke app/helpers/referral_notes_helper.rb (first_time, not_needed)
** Invoke app/helpers/placements_helper.rb (first_time, not_needed)
** Invoke app/helpers/debug_helper.rb (first_time, not_needed)
**...
2006 Mar 16
32
iterating a partial with :collection
following AWDWR book - ''Partials and Collections'' (rather sparse info
there too) and I might add that the wiki page on this topic is entirely
devoid of any info...be that as it may...
I have hash of several arrays that I want to iterate though and display.
the first hashed element looks like this (greatly simplified)
- :facility: !ruby/object:Facility
attributes: