search for: kopanas

Displaying 20 results from an estimated 52 matches for "kopanas".

2006 Mar 20
2
Capistrano, ftp user and svn user are different
What do you do when the ftp login username is different then the svn username? Every time I try to deploy it gets stuck right here: [kopanas.com] executing command ** [out :: kopanas.com] Authentication realm: <http://kopanas.com:80> kopanas.com ** [out :: kopanas.com] Password for ''jkopanas'': ** [out :: kopanas.com] subversion is asking for a password ** [out :: kopanas.com] Authentication realm: <http://ko...
2008 Nov 19
3
Rails.cache and problem with model id?
...ews/fetishes/index.html.erb:21:in `_run_erb_47app47views47fetishes47index46html46erb'' ---- If I do not cache the query it works beautifully... basically when I cache that query anytime I try to view fetish.id I get a stack level to deep error... anyone ever get this problem? -- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org Blog: http://www.kopanas.com Conference: http://www.cusec.net Twits: http://www.twitter.com/kopanas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal...
2006 Feb 14
8
Best Practices For back/cancel/return button
Are there any best practices for implementing a back/cancel/return button... even when the page you want to return people too is 2 pages back (when people submit form and then want to return)? Thanks :-) Your Friend, John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2005 Mar 11
4
actionmailer settings
...in your test, dev or production environment? 2) Does anyone have an actionMailer server settings that will work on your standard local machine? I will use the one provided for my textdrive account but for testing on my machine I am getting connection refused. Thanks. Your Friend, Jonathan Kopanas http://www.kopanas.com
2006 Feb 12
5
Passing Multiple Values In URL
...he basic concepts I just loose so quickly. This one I can''t find any examples of. I want to pass two pieces of information in my URL. The :id plus I want to pass my user_id. How do I pass it using the link_to? Stupid question I know... but I can''t find the answer. John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Mar 21
2
Migration ~ Create
In one of my migration files I have the following: =========== def self.up User.create :name => ''John Kopanas'', :email => ''john@kopanas.com'', :password => ''test'' end =========== When I run it I get the following error: =========== undefined method `create'' for #<ActiveRecord::ConnectionAdapters::MysqlAdapter:0x2345c1c> ===========...
2006 Feb 14
6
Creating a String of Random Characters and Numbers
I want to create a random string of length n that is made up of characters and integers. Is there a function in rails or ruby that allows me to do this? Thank you my friend :-). John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Jun 10
3
Weird Problem With Active Record
...m.created_at %> ... <% end %> Now, how come the created_at is being taken from the HABTM relationship instead of the problem table itself? This does not make sense to me. How would I get created_at from Problem table instead of problems_tag table? Thanks for your help? John Kopanas http://www.kopanas.com ============================================================ http://www.soen.info - Index of online software engineering knowledge http://www.cusec.net - Canadian University Software Engineering Conference http://www.soenlive.com - Presentations from CUSEC
2006 Feb 16
5
Edge Rails, Ruby 1.8.2 and "uninitialized constant ''modelname''" error
....8/rubygems/custom_require.rb:18:in `require'' ./script/../config/../vendor/rails/activesupport/lib/active_support/ dependencies.rb:153:in `require'' ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 script/server:3:in `require'' script/server:3 John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Mar 20
4
Capistrano: cap show_tasks working but rake show_tasks not?
...rake.rb:300:in `[]'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 /usr/local/bin/rake:18 Thanks for your help :-) John Kopanas
2006 Feb 17
2
acts_as_versioned and acts_as_taggable on same model?
...acts_as_versioned and acts_as_taggable (plugin) on the exact same model. Has anyone successfuly done this? I think what I need to do is make model_versions acts_as_taggable instead of my main model. Anyone have any other suggestions or any suggestions how to do this? Your Friend, John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Feb 13
3
Getting Rid of Error Divs around fields that have errors
Is there a way to get rid of the divs around an error field. These divs are causing me headaches. Any suggestions :-)? John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Jun 09
2
Creating An Extra Association Between Two Tables
...`tag_id`, `problem_id`, `id`) VALUES (20, 33, 20) The problem is basically that it is trying to create a row in problem_tags with an ''id'' that already exists. How come it is trying to do that? How can I prevent it from doing that? Thanks for your help guys and gals! John Kopanas http://www.kopanas.com ============================================================ http://www.soen.info - Index of online software engineering knowledge http://www.cusec.net - Canadian University Software Engineering Conference http://www.soenlive.com - Presentations from CUSEC
2006 Feb 11
2
Migrations and Unintialized Constants Error
...umn :created_at, :datetime t.column :updated_at, :datetime end Faculty.create :school_id => 1, :name => "Faculty of Engineering and Computer Science" Anyone can give me some insight into my problem please :-) Would be greatly appreciated :-). Your Friend, John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Feb 13
2
Overriding the error_messages_for method
If I wanted to override the error_messages_for method where within the rails structure would I put it? Which file? Thanks :-) John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Feb 15
8
[OT] I user CocoaMySQL... anyone have any other preferences for MacOS X?
Looking for a quality alternative... if there is one :-). John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2006 Feb 14
10
acts_as_versioned and getting authors
...nt to be able to do: <% @notes.versions.each do |version| %> <%= version.user.fullname %><br/> <% end %> But I can''t! User is not associated with versions. How can I associate it? Thanks for your help :-). This has been bugging me for a long time. John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering information on the net http://cusec.soen.info - software engineering conference
2008 Dec 05
1
Question About Rails.cache and find method.
...use the fetch but queries the DB again... which makes sense but not exactly what I want it to do. I can do City.find(@user.city_id) but that is ugly. So my question to you guys. What are the smart people doing? What is the right way to do this? I look forward to getting feedback! :-) -- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org Blog: http://www.kopanas.com Conference: http://www.cusec.net Twits: http://www.twitter.com/kopanas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal...
2006 Feb 17
3
Accessing Yahoo!, Hotmail and Gmail address book?
Just wondering if any one has been able to come up with a solution to access Hotmail / Gmail / Yahoo address books via their ROR app? Thanks for any tips/guidance you can provide. Frank --------------------------------- Brings words and photos together (easily) with PhotoMail - it''s free and works with Yahoo! Mail. -------------- next part -------------- An HTML
2006 May 26
2
link_to and fragment identifiers
...ut what they are called. I would like to be able to create url that looks like this: post/view/id#comments How do I do that with a link_to function? link_to "Comments", :controller => "post", :action => "view", :id => post.id ??? Thanks guys! :-) John Kopanas http://www.kopanas.com ============================================================ http://www.soen.info - Index of online software engineering knowledge http://www.cusec.net - Canadian University Software Engineering Conference http://www.soenlive.com - Presentations from CUSEC