Displaying 3 results from an estimated 3 matches for "gundestrup".
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 works
<%= course.semester.name %> <- this is now
2008 Sep 18
4
I wanna do a project on RoR
Hi..Friends...I m a final yr IT engg student...I wanna learn RoR n use
it for my Btech project...Kindly help me in dis regard...My exact
query is:
1)Wat project topic to choose
2)How to learn dis technology n implement it in my project
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2008 Oct 17
0
Add fixtures Class mothodes
Dear All
I am using fixtures to load data into my program.
But when loading data into the table later, I use:
directory = File.join(File.dirname(__FILE__), "data/2007")
Fixtures.create_fixtures(directory, "filename")
The problem with the "create_fixtures" methode is that it moves all
the "old data" in the table and load the new data.
I would just