Displaying 8 results from an estimated 8 matches for "scott_brittain".
2006 Aug 14
6
Testing fails with fixtures not when invoked directly
I have three files organization.rb, company.rb, and department.rb. I want
to ensure the department always has a company
require File.dirname(__FILE__) + ''/../test_helper''
class OrganizationTest < Test::Unit::TestCase
fixtures :organizations
def setup
@smo = organizations(:smo)
end
def test_department_company_defaults_to_parent
org = Department.new(:name =>
2006 Jul 18
2
2-column select lists (Available/Selected)
I''m trying to get one of those 2-column select lists (where there''s an
"Add>>" and a "<<Remove" button between them) working for a Rails
application. First of all, what the heck is this thing called?
You''d list all of the available items in one select list, and the
selected ones in the other.
Items move from one list to the other, but
2006 Jul 26
4
yhtml plugin
I have released a yhtml plugin, which is available at
http://http://svn.visualjquery.com/admin_console/trunk/admin_console/vendor/plugins/yhtml
You can also get my other plugins, specificlly: the pre-alpha
administrative console (AJAX-based scaffolding engine),
acts_as_automatic, which allows you to define associations in a single
yaml file, and not need to define has_many, has_one,
2006 Jul 17
22
Rails - where are the BIG web apps?
Ok, Rails has been out for some time now. I''ve kept an eye on it pretty
closely. I''ve heard Basecamp, Robot Coop, 43 Things, etc. are running
on it. However, those have been the same apps people point to when the
dreaded scalability question comes up. Are there any new web apps
(large scale) in Rails or is it still the same old one? Something like
on the scale of
2006 Jul 21
0
Questions about akismet and rails
Currently looking at adding spam protection and notice that both the Typo and
Mephisto folks have recently added Akismet. Two questions:
- does anyone have any commentary to share about the availability and
responsiveness of the spam checking?
- anyone have an firm reason to worry about the amount of personal data
required by their APIs? In other words, citation of this data being misused?
2006 May 19
0
Works in model but not in mixin
Disclaimer: RoR newbie. Using the acts_as_taggable plugin.
As an exercise I wanted to switch from the destructive TAG_WITH method
to adding tags while preserving the existing ones. On the surface this
seemed easy enough and eventually I got it working. However, the
following method:
def add_tags(list)
Tag.transaction do
Tag.parse(list).each do |name|
if
2006 Aug 04
1
Rails to web analytics integration
Anyone have experience (or plugins) available for pulling web analytics into
the rails environment? Our marketing folks want to combine the page view data
together with our registration/activity info, not too different than advocated
here: http://www.thinkvitamin.com/features/webapps/how-to-measure-the-success-
of-your-web-app
We''re using Apache 2/mongrel.
Thanks.
2006 Jul 29
6
Anyway for a model to call url_for?
Or better yet, a named route? Tried lots of searches and ugly hacks ...
Thanks in advance.