All Ruby on Rails Discoveries

Show:


CSS Tool Editors/Publisher in Programming Rails : Controllers and ...



Does anyone out in the community use any sort of CSS Stylesheet publisher/editor for creating 'rich' skins for their applications? I'd be curious to know what software/tools are out there for doing this. Thanks!

Overlapping database relationship. How to? in Programming Rails ...



rebelx wrote:. is that good database practice? are my relationships correct otherwise? (regarding belongs_to through). Why wouldn't adding two fields to a table be a good practice?. I think that belongs_to through does not exists, ...

Deployment in Production : Deployment



My host is on linux server, and plesk control panel Anything else you need to know ? I dont know if this will be useful or not ? www.irdns.com/info.php.

return boolean, find if belongs to object of object in Programming ...



aaah! I like rails.... object.user == user.

return boolean, find if belongs to object of object in Programming ...



Ok, I have a harder one... (btw sorry the names of the tables are mixed french and english :s) - user has_many :inscriptions - many-to-many between inscription and periode - inscription belongs_to :course - periode belongs_to :course ...

return boolean, find if belongs to object of object in Programming ...



Hi, I'm using restful_acl. the following method is in one of my model, namely inscription. I have user, inscription, inscription_periode, periode. user >> belongs_to :inscription inscription >> has_and_belongs_to_many :periode ...

Namespaces for Controllers in Programming Rails : Controllers and ...



I'm trying to setup a simple namespace starting from an empty app. Im using Rails 2.01. Are my steps correct? I'm getting an error. ./script/generate scaffold admin::post name:string rake db:migrate ./script/server start ...

How to make a simple Contact Form in Programming Rails : Other ...



Ok, I did diabactz(sp?) code and I'm having one problem that I know is probably really obvious but I don't see why it's doing it. I'm fairly new to Rails, but til today I thought I was picking it up pretty well. Here's my form code: ...

Otherinbox: Ruby on Rails Internship, found on 2008-07-04 18:01:10



Ruby on Rails Internship - Otherinbox - USA, TX, Austin (2008 07 03)

Ruby on Rails Developer at: Canada,ON, Toronto



We are a Toronto-based software development company looking for someone who is passionate about writing software. You will be working with a small team of Ruby/Rails developers where your input will have a direct impact on the outcome ...

Working Better with Ruby on Rails



In the last four years, we have seen how Ruby on Rails (RoR) built on, and accelerated the wider acceptance of, the object-oriented Ruby language. Consequently, the Ruby/RoR combo has become a workhorse of such independent software ...

A new CheckBox component in Streamlined



I’ve noticed that Streamlined when display has_and_belongs_to_many or has_many relationships in an edit view calls ‘Streamlined::Components::Select’ (lib/streamlined/column/association.rb line 123). That class simply render a ‘select’ ...

Finding models where has_many.empty? in Programming Rails : Models ...



Code : ruby - fold - unfold. class Company; def find_with_no_people; find :all, :include => :people; :conditions => "people.id IS NULL"; end; end.

Developing in RoR on Ubuntu 8.04 in Starting Out : Tools



bus387 wrote:. when copy/paste some code from html page to vi , sometimes indents looks bad. there could be many causes for this, it's probably due to a setting in your ~/.vimrc file. before you paste, try this in vim: 1. hit escape ...

Problem with will_paginate in Programming Rails : Other Rails ...



The Ajax add_comment.js.rjs response appends an add_comment to the url that shouldnt go there. Is there a way for not letting the action name append to the url path.

Overlapping database relationship. How to? in Programming Rails ...



i'm learning Rails relationships. i'm trying to recreate something i did in PHP, in Rails. i tried creating an app that can search a piece of literature by one author. however, there are many translations into many languages. ...

Calling helper method located in a different controller? in ...



By default, Rails includes all helpers for use in the views (see ApplicationController - it says helper :all). I don't remember when this became default but I think somewhere around 1.2. So you just put helper methods where they belong ...

Want to set RAILS_ENV in environment.rb in Programming Rails ...



I understand that passing command line arguments will make it work. But I would assume the "Rails way" might also include the way that is documented in the code (environment.rb). If that doesn't do what it says it does it ought to be ...

current_account method for public and admin sections in ...



I have a method called current_account which does exactly what it says. I think I've gone a little overboard and would like some input to simplify my methodology. Each account has various sections on the site (services, tips, ...

Lightview by Nick Stakenburg in Web Development : XHTML/CSS/JavaScript



Hi. I recently blogged about using lightview in rails apps... http://www.ricroberts.com/articles/2008 … s-on-rails This might help.