28 Dec '12, 12pm

ruby on rails 3 - timesheet in rails3 - Stack Overflow #erp #smallbusiness

<tr id="row<%= index %>" valign="top" class ='time_stamp'> <%= hidden_field_tag "timesheet[timesheet_line_items_attributes][#{index}][id]",timesheet_line_item.id%> <%= hidden_field_tag "timesheet[timesheet_line_items_attributes][#{index}][_destroy]"%> <td valign="top" style='padding-left:0;'> <%= select_tag "timesheet[timesheet_line_items_attributes][#{index}][task_id]", options_from_collection_for_select(@tasks, :id, :description, {:'data-index'=> index, :selected => timesheet_line_item.task_id} ), :include_blank => true,:prompt => true, :class=>"full" %> <%= hidden_field_tag "index", index %> </td> <% index = 0 %><% date= Date.today.beginning_of_week %> <% (Date.today.beginning_of_week..Date.today.end_of_week).each do %> <td > <%= text_field_tag "timesheet[timesheet_line_items_attributes][#{index}][timestamp]", timesheet_line_item.timestamp, :size =>"1", :class => "half"...

Full article: http://stackoverflow.com/questions/14068599/timesheet-in-...

Tweets

Ruby on Rails Console with Associations

stackoverflow.com 26 Dec '12, 12am

Rails ActiveRecord associations inconsistently updated has_many, belongs_to association where has_many associated model ha...

Create a has_many association where a condition...

stackoverflow.com 26 Dec '12, 5pm

Soliciting Rails Association Feedback + Questions from a Noob How can I create, associate, and de-associate related record...

deviseでsoft deleteする手段。 / “ruby on rails - How ...

stackoverflow.com 26 Dec '12, 2am

I could advise overriding destroy method on your User model to simply do update_attribute(:deleted_at, Time.current) (inst...

Why Rails?

Why Rails?

net.tutsplus.com 28 Dec '12, 8pm

MVC means that it follows the Model-View-Controller paradigm, so that you can clearly separate concerns when developing an...

Adding html tag in ruby on rails controller: Ho...

stackoverflow.com 26 Dec '12, 10am

How do I add html tag in ruby on rails controller? I want to add this statement include a_tag in ruby on rails controller....

Applicability of ruby on rails for a video heav...

stackoverflow.com 26 Dec '12, 1pm

I intend to develop a web application that will have most of the features like facebook and youtube have, for instance - a...

Ruby on Rails engineer (+Opportunity to attend ...

careers.stackoverflow.com 26 Dec '12, 6pm

Are you a solid Ruby on Rails engineer looking for a unique FT opportunity in a highly experienced, creative, and purposef...

Janiece Ockenfels liked [Ruby on Rails]GitHubからのSSH脆弱性メールにどのように対応すればいいのか?: 2012/3/8 3:28に、GitHubから一通のã…

Janiece Ockenfels liked [Ruby on Rails]GitHubから...

cybersquat.com 25 Dec '12, 8pm

[Ruby on Rails]GitHubSSH 2012/3/8 3:28GitHub Action Required - SSH Key Vulnerability - SSH ... Janiece Ockenfels shared th...

Ruby on Rails 3: Sign-In With devise and cancan

stackoverflow.com 01 Jan '13, 1pm

rspec test fail - user sign out - Ruby on Rails 3 Tutorial book Chap 9 Ruby on rails mysql problem CanCan, Devise, Rails a...