search for: systemutvecklare

Displaying 3 results from an estimated 3 matches for "systemutvecklare".

2006 Feb 20
18
Win XP/ Mysql Problem
I''ve searched everywher for an answer to my problem, and the only thing I''ve found is people with the same problem. I''m hoping someone has an answer here: I''m working through the agile web developement with rails book and when I goto scaffold the products table I get the following message. exists app/controllers/ exists app/helpers/ exists
2006 Apr 04
3
How to use in_place_editor_field ?
Hello, I really don''t understand how to use in_place_editor_field In my controller : class Admin::CategoriesController < Admin::BaseController in_place_edit_for :category, :title def list @categories = Category.find_all end end In the view list.rhtml <% @categories.each do |c| %> <td><%= in_place_editor_field :c, c.title %></td> # snip <%
2006 Mar 21
5
Order records based on number of children
Let''s say I have simple schema with two tables. The models are defined like the folllowing: class Parent < ActiveRecord::Base has_many :children end class Child < ActiveRecord::Base belongs_to :parent end Simple has_many relationship. Is there any way to order the results of a Parent.find_all by the number of children the parent has? I can sort with sorted_parents =