Displaying 4 results from an estimated 4 matches for "placementscontrol".
2006 Feb 06
2
basic usage confusion
...ord and click
the ''show'' button. I put in a ''link'' at the bottom of ''show.rhtml'' to my
''view'' rfn2.rhtml - action = ''rfn2'', :id = @placement
I click this link and get error...
log/development.log
Processing PlacementsController#rfn2 (for 127.0.0.1 at 2006-02-05
22:44:55) [GET]
Parameters: {"action"=>"rfn2", "id"=>"4", "controller"=>"placements"}
Placement Load (0.010998) SELECT * FROM placements WHERE
(placements.id = ''4'') LIMI...
2006 Mar 10
3
css question
I''m doing this ''partial'' to do some ajax auto_complete
<ul class="placements">
<% for client in @clients do -%>
<li class="placements">
<div class="clwholename"><%=h client.clwholename %></div>
<div class="id><span class="informal"><%= client.id
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site...
http://wiki.rubyonrails.org/rails/pages/CalendarHelper
The error I am getting is:
NameError in Placements#list
undefined local variable or method `date_format'' for
#<PlacementsController:0xb78f9ef4>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
./script/../config/../app/controllers/application.rb:9:in `localize''
Makes sense... the lines in application.rb are:
prepend_before_filter :localize
def localize
# determine loc...
2006 Feb 09
17
complicated finds are eating my sole
I abandoned ruby way for find_by_sql and still can''t get this...
@myplacement = Placement.find_by_sql(
"select * from placement where
:intake_date >= beg_intake_date
and
:intake_date <= end_intake_date")
just a simple date range...it''s killing me - If I knew how to load
placement controller into irb, I could probably try out finds
interactive mode...
Thanks