Displaying 20 results from an estimated 37271 matches for "course".
2006 May 10
4
using partials in a for loop
I''m trying to write a partial for a link_to_remote that i''m using over
and over again, but simply moving the code to a partial doesn''t seem to
work.
Here is how I have it set up:
class_planner.rhtml:
<% for course in @courses %>
<%= render :partial => "class_list" %>
<% end %>
_class_list.rhtml:
<li>
<%= link_to_remote "#{course.title}",
{:url => {:action => "add_course", :id => course}},
:class => "course", :name...
2007 Dec 02
3
Better way for select list for belongs_to?
I''m currently doing all of this just to have a drop-down list of
Courses for a particular student:
===== edit template =====
<%= f.select :course, @courses, :selected => @student.course.id %>
===================
===== students controller =====
def edit
@student = Student.find(params[:id])
@page_title = "Edit #{@student.full_name}"
@...
2006 Jan 23
3
create and update with has_many :through
I''m using Edge Rails and the new has_many :through in my code. What
I''m trying to do is modify my create and update code to use the new
relationships. I''m using a table called course_teachers for the joins.
Here is what I have so far:
def create
@course = Course.new(params[:course])
@teacher = Teacher.find(params[:primary_teacher])
@course.teachers = @teacher
if @course.save
flash[:notice] = ''Course was successfully created.''
redirec...
2006 Apr 20
4
Question about Associations
Hi all. Got a stupid-simple question about associations. I have two
models - school and course. There are a fixed number of schools (set
up in the migration). Each course is assigned a school and a school
will be associated with multiple courses...
How do I set up the associations? Do (can) I have School :has_one
:course and Course :has_many :schools?
Does the schools table then get a cou...
2008 Aug 25
2
maths not working (can't get this)
...opefully it''s cleaer what I''m
trying to do (work out and display two prices, one discounted / one
full). Be grateful for answers...
The total price and discounted price are not calculated correctly and
the duration is not coming through to the output page.
---------------
class Course < ActiveRecord::Base
has_one :enquiry
attr_accessor :duration_in_weeks
def self.all_courses
find(:all)
end
def self.active_courses
# find(:all)
# find(:all, :conditions => ["active = ?", true], :order =>
''created_at DESC'', :limit =>...
2009 Mar 06
9
Association broken when upgrading from rails 1.2.6 to 2.2.2
I have an app with the following models:
course
belongs_to :semester
semester
has_many: courses
belongs_to :education
education
has_many :semesters
In my old app (rails 1.2.6) I was able to access variables via
controller
@courses = Course.find(:all)
view file:
<% for course in @courses %>
<%= course.name %> <- this line work...
2013 May 03
0
Courses: Statistical Analysis with R - Bayesian Data Analysis with R and WinBUGS
Dear list members,
Apologies for cross-posting. Please, find below the information of
two statistical courses with R:
1) Statistical Analysis with R
2) Bayesian Data Analysis with R and WinBUGS
If you have any question don't hesitate to contact me.
Best regards,
Pablo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*Two days course in: Statistical Analysis with R
*Where: Linux Hotel,...
2011 Sep 15
1
Can't get installing a package source (.tar.gz) from a web page to work...
I have created an R-package with datasets which I want my students to install (the package is not on CRAN).
1) I've put the package on the web in a directory called 'data' and I thought I could do:
> install.packages("http://gbi.agrsci.dk/statistics/courses/2011-ISMLS-course/data/LiSciData_0.0-03.tar.gz",repos=NULL,type="source")
Warning: invalid package 'http://gbi.agrsci.dk/statistics/courses/2011-ISMLS-course/data/LiSciData_0.0-03.tar.gz'
Error: ERROR: no packages specified
Warning messages:
1: running command 'C:/progr...
2002 Dec 19
0
Course***R/Splus programming I: Essentials and Data Analysis***January 2003
XLSolutions Corporation (www.xlsolutions-corp.com) is pleased to
announce a two-day S-plus/R course. The monthly schedule for our
2003 courses will be available soon! Do you know we've added
new courses at different levels and revised some of our course
to fit your needs?
"S-plus/R programming I: Essentials and Data Analysis" in:
San Francisco **** January 23-24, 2003...
2011 Sep 25
4
checkbox use question
Hi,
how can I use checkbox in a form to show all customers from table
customers,
Course Users Customers
========= ========= =============
user_id customer_id Customer_name
I would like to select customers from the checkbox list, then add to the
course table only users of the selected customers.
thanks dani
--
Posted via http://www.ruby-forum.com/.
--
You...
2011 Feb 02
2
Indexing from two variables
...lly trying to get disorganised data into long form for linear modelling.
I have 2 dataframes "rec" and "book"
Each row in "book" needs to be pasted onto the end of several of the rows of "rec" according to two variables in the row:" MRN" and "COURSE" which match.
I have tried the following and variations thereon to no avail:
</code>
#for each line of the recovery dataframe
#insert the one line of the "book" dataset that corresponds to the MRN AND the course-of-treatment (COURSE)
#get the mrn and course from the first li...
2006 Aug 15
2
Looking for info on the "Regression Modeling Strategies in R" course in DC area
Hello list,
A colleague of mine mentioned a great course on "Regression Modeling Strategies in R". Anyone knows if this course is offered as public course in DC area?
Thanks a bunch - TM
---------------------------------
[[alternative HTML version deleted]]
2008 Feb 11
8
Using R in a university course: dealing with proposal comments
Hi All,
I am scheduled to teach a graduate course on research methods in
health sciences at a university. While drafting the course proposal, I
decided to include a brief introduction to R, primarily with an
objective to enable the students to do data analysis using R. It is
expected that enrolled students of this course have all at least a
formal...
2001 Nov 10
0
Summary: Teaching with R a quick survey.
...lo State, Brazil.
Bank of Canada (Canada's central bank)
Forest Insect Group of the Royal Forest Department, Thailand.
University of Madras, India
Undergrad:
1. not-only-theoretical-parts (e.g. Statistics 2, Computational Statistics,
Quality Assurance, Factorial Design, ...).
2. 1 third year course on either genralized linear models or time series
( is switches)
3. Will use this year with our second year statistical modelling course
4. If I am brave enough with the new first year stats course
5. Main first year course + one first year service course, and for 3rd/4th
year modules in gener...
2010 Mar 17
3
R Advanced Programming Course in USA
Hi folks,
I am working on my student internship to USA, california and would like to
attend a R Advanced Programming course while I am in USA. Where can I find
such a course. I am new to this list.
Trevor O'brien
>From Ireland.
[[alternative HTML version deleted]]
2010 Jun 18
0
New course schedule and new locations
Hi all,
Mango have released their updated training schedule which includes new courses and new locations. Hadley Wickham will also be coming to London to teach Data Visualisation in R. Please see details below:
Public Courses
Our public courses include introductory to advanced training in general data analysis through to industry specific data analysis. Attendees of our public cour...
2011 Sep 08
5
General help - online statistics courses?
...#39;re an online gaming company.
As I'm going through tools like R, rapidminer, tableau, I was also thinking
that I should get some formal training in statistics, since my formal
background is in media arts - it's quite a jump.. I was wondering if there
was a single go to place for online courses for statistics. I've checked
out statistics.com and have found a bunch of online courses from various
universities, but it's very difficult to find info about how the courses are
different from each other, which ones aren't worth it, etc..
I'd greatly appreciate any advice. I ap...
2004 Oct 13
1
R: r course
hi all
i need some advice. i am a university lecturer and will be teaching a R
programming course next year. the course will be taught to second year
statistics students. the aim is to introduce them to programming. the
emphasis will be on solving real life consulting projects by using R. i
must still develop the course but if anyone has any suggestions on
possible content and interesting data...
2003 Feb 26
1
COURSE***R/S-plus Fundamentals and Programming Techniques***March 2003/Boston
XLSolutions Corporation (www.xlsolutions-corp.com) is proud
to announce a 2-day course: "R/S-plus Fundamentals and Programming Techniques".
****Boston, MA-----------------> March 13-14
Course Description:
This two-day R/S-plus course focuses on a broad spectrum of topics,
from reading raw data to a comparison of R and S. We will learn
the essentials of data manipul...
2003 Mar 22
0
Two courses in Philadelphia
I am presenting two courses in Philadelphia in May-June organized by Insightful Corporation. These courses have hands-on workshops and have received excellent reviews from past participants (let me know if you want to see the reviews from previous years' courses). Both courses are applicable to S-Plus and R users. The...