Displaying 3 results from an estimated 3 matches for "all_project".
Did you mean:
all_projects
2006 Apr 30
0
populating model attribute from one of many lists
...jects or they can choose from a list of "recent"
projects (Projects associated with Bookings dated within the past N
days). I settled upon the following as a way to present the different
lists of projects:
I added three attributes to the Booking model:
attr_accessor :recent_project, :all_project, :new_project
The view for creating new Bookings is provided two lists of Projects
(@projects and @recent_projects) which are used to create
corresponding select lists, essentially:
<%= select :booking, :recent_project, @recent_projects,
:include_blank => true %>
<%= select :boo...
2007 Apr 08
0
select html for habtm
...my html:
<div>
<p><label for="projects">Project</label><br/>
<select id="schedule_projects" name="schedule[project_ids][]"
multiple="multiple" size="10">
<%=
options_from_collection_for_select(@all_projects, :id, :name,
@selected_projects) %>
</select>
</p>
</div>
And my controller:
def edit
@schedule = Schedule.find(params[:id])
@all_projects = Project.find(:all, :order=>"name")
@selected_projects = @schedule.projects.collect{|prj|
prj.proj...
2020 Mar 16
2
Upstreaming Flang - postponed to Monday 23rd March
Hi llvm-dev
We have not been able to complete all the work we need to do before merging F18 into LLVM as Flang so we will not be dong that today as previously announced.
We propose to slip this back a week to let us finish off the last bits of work. All code changes are in review as of Friday. If you want more detail, you can see the exact status here: