Displaying 4 results from an estimated 4 matches for "dsavicka".
Did you mean:
dsavickas
2006 May 19
2
where can I find a list of all available rake functions for Rails
Hi all,
Do you know where can I find a list of all available rake functions for
Rails.
Many thanks.
Yi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060519/45a2ae96/attachment.html
2006 May 18
4
Problems using ''select''
I use :filter action to display form and allow record filtering. It
contains form with
combo box, submit button and list of record matching value in combo.
filter.rb:
class Filter
attr_accessor :owner
def initialize(params)
@owner = '''';
if !params[:filter].nil? and params[:filter].has_key?(:owner)
@owner = params[:filter][:owner]
end
end
end
Controler:
@users =
2006 Oct 13
2
Splitting controller
I''m trying to split controller into several files. I tried extracting
methods into separate files and then requiring them in main
controller, but this doesn''t seem to work.
controllers/reports/sales_reports.rb:
class ReportController < ApplicationController
def sales
end
end
controllers/reports/purchases_reports.rb:
class ReportController < ApplicationController
def
2006 Nov 13
5
Routes problem
I want to connect default route to controller Report::SalesController,
so I have line:
map.connect '''', :controller => ''report/sales''
in config/routes.rb
SalesController is in app/controllers/report/sales.rb
and is declared as:
class Report::SalesController < ApplicationController
...
end
The problem is that when I try to open root url of my application I