search for: litwin

Displaying 11 results from an estimated 11 matches for "litwin".

Did you mean: lilwin
2007 Apr 13
57
ZFS for Linux (NO LISCENCE talk, please)
Hello. I''m a nobody. I use Linux. I have a hard-drive. I want the best / sexiest / what ever fs for my hard-drive, as it isn''t one of those flashy flash drives, which I presume don''t need an fs (???). I was THRILLED that the ZFS for Linux thread started. And, I was equally horrified (and sufficiently annoyed that I am starting this new thread) when it degraded in to
2009 Apr 29
7
problem with nil.user
Hi all, I''ve put new code into my app so that an administrator will have extra privileges (administer users, edit pages). The error is: ''Couldn''t find User without an ID'' So the app is looking for a logged in user when the homepage is accessed. Heres my code: site/index view: <% if is_logged_in? and logged_in_user.has_role?(''Moderator'')
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 16
5
vestal_versions -- can I set it to ignore certain columns?
I''d like my published boolean to be excluded from the calculation as to whether a version is created or not. Can anyone suggest a way to do that? Thanks, Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2010 Feb 10
6
validation problems
Hi, there. I have two validations in the model: validates_numericality_of :value, :only_integer=>true, :allow_blank=>true validates_size_of :value, :is=>9, :message=>"must be 5-digit number", :if=>Proc.new{|u| u.value.is_a?(Numeric)} They work as expected except when the :value is character/string like "a" "abc", the second validation will also output
2010 Apr 29
10
How to install rails gems 2.3.5 on windows
Hi, When I try to add generator to controller, I got error as "Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed." Can somebody please let me know how to install rails gem 2.3.5 successfully on a
2009 Jul 27
2
Can't delete sqlite database
Did a quick experiment with a new project and added the default sqlite database with rake db:migrate. Now I want to get rid of it. I use rake db:drop and that will delete the file, but as soon as I restart the Rails app, the db is recreated. Aargh! I can''t find any other file which has been modified which mighht cause the db to be created. How do I get rid of this permanently? -- gw
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