Displaying 8 results from an estimated 8 matches for "ur4tiblo6gon".
2009 May 13
2
case/capitalization of LABEL text
I''ve noticed that when using the form method Label, that the label
text is translated to html with the first character in Upper Case and
the remainder of the text string as lower case.
<%= label(:country, "USA") %> becomes <label for="country_USA">Usa</
label>
I can''t find any documentation on this unhelpful behavior. Is there
anyway way
2010 Sep 06
2
Background Task: How to?
Hello everyone, my app is Twitter based, and all I have to do is get
the tweets of a given user and retweet it in other twitter profile..
so when user1 tweets, user2 must automatically retweet. I think I must
write some background job to make this work but I don''t know how? Any
ideas? Any gem intended for things like this?
Thanks!
--
You received this message because you are subscribed
2009 Sep 09
3
[Rspec] Using Mocha results in uninitialized constant, using a 'fix' breaks RSpec output
After installation of Mocha (0.9.7), running "script/spec spec"
results in a "`const_missing'': uninitialized constant
Test::Unit::TestResult::TestResultFailureSupport (NameError)" error.
(As shown here; http://codepad.org/mTqztjwt )
I''m running Ruby 1.8.6 with Rails 2.3.4 on Windows, rspec (-rails)
1.2.8 (1.2.7.1), Test::Unit 2.0.3
As suggested roughly on
2010 Nov 04
9
Delete action is not working and redirects to edit action
Hello,
i have a strange problem here. I have made a teacher controller using
scaffold. All actions work fine but the delete does not. When i click
the delete link, it redirects me to the edit of this teacher. I have
restarted the server and i have tried in firefox (i use chrome) but
problem still remains. Here is the code from my view.
<%= link_to(image_tag("/images/
2009 Sep 07
11
autoincrement for non-id column
There is a table:
execute (<<-SQL)
CREATE TABLE "tasks" (
"id" serial primary key,
"number" serial,
"version" integer DEFAULT 0 NOT NULL,
"latest_version" boolean DEFAULT ''t'' NOT NULL,
"hidden" boolean DEFAULT ''f'' NOT NULL,
"type" character varying (1) NOT
2005 Aug 25
0
multiple refreshs clicks cause errors in WEBrick
Hi all
I am new to rails, so I hope it is not a trivial question...
I am using rails with webrick and MySql4.1 on win XP.
I enter a simple action (with a post method) which fetches some data from a ''users'' table and present it in a rhtml view.
Now when I press the refresh button quickly a few times I get in the command line window errors such as this:
[2005-08-25 17:08:55]
2005 Aug 28
1
Active Record problem
Hi all
I am new to Rails, and obviously I''m missing something, I''ll get straight to the question:
A User has many operations (granted to her), each Operation is associated with an OperationType. Each Operation may be associated with more then one User.
So the model goes like this:
class User < ActiveRecord::Base
has_and_belongs_to_many :operations
2005 Aug 28
6
ActiveRecord Question
Hi all
I am new to Rails, and obviously I''m missing something, I''ll get straight to the question:
A User has many operations (granted to her), each Operation is associated with an OperationType. Each Operation may be associated with more then one User.
So the model goes like this:
class User < ActiveRecord::Base
has_and_belongs_to_many :operations