search for: leopardus

Displaying 17 results from an estimated 17 matches for "leopardus".

Did you mean: leopard's
2006 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone! I''m thinking of the right way to store tmp/ directory of Rails 1.1 project in Subversion. It has cache, session and sockets subdirectories. To me, it looks good to have svn delete tmp/* svn propset svn:ignore "*" tmp So it will ignore all directories and files in tmp/. Even if you create sessions/ and put some files in it, tmp/ content is still ignored. But
2006 May 08
6
how to make field in model immutable after create
Hello everyone! I want to have login field in User model which is set only once (on create), and then it should fail validation if the value is changed. How can I do this? I dig around for validation and tried def after_validation_on_update unless User.find_by_login(:login) errors.add(:login, "is immutable. You can''t change it") end end in model, but somewhat it
2006 Apr 14
2
Puzzled with filters
Hello everyone! I''m trying to create an after filter for all my actions in all controllers. I put it in application controller (application.rb). class ApplicationController < ActionController::Base after_filter :tidyit def tidyit xxxx # syntax error - intentionally end end I have a Example (example_controller.rb) controller with index action. class
2006 Apr 28
1
how do I test links in templates?
Hello everyone! Sorry, if it''s stupid question, but I can''t figure out how to do this. I have a set of statements, for example, ''login page should have a link to register new user'' and ''login page should have a link to password recovery''. How do I transform it into tests? Where it should go? It does not look like functional tests or
2006 Apr 13
3
Offsite Job
Hello I am looking for a RoR developer to work from home/their location. I would require 20-30 hrs of assistance every week. Interested developers may kindly send your resume to nakshsys@gmail.com with their hourly rate. Best -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
1
AW: Linux Suggestions
...on''t get me wrong, but for someone comming from windows? >> I don''t >> think they would get past formatting the hard drive. Gentoo is >> fantastic, >> but it is an experts distro. >> >> matt >> >> >> On 1/19/06, Leon <leopardus.vulgaris@gmail.com> wrote: >>> I would recommend Debian, Ubuntu or Gentoo for a start. I use >>> gentoo. >>> I like it very much. I installed it following the install guide and >>> configured by either guides or howto''s in gentoo wiki. It was easy....
2006 Jan 16
42
Linux Suggestions
I''m fairly new to Ruby & Rails and I come from a stricly M$ background. I''m trying to move into the world of open source, but I don''t have a good roadmap. I''m starting to develop a Rails-based product and I want to have the option to distribute it to non-hosted customers. So I''ve said all that to say this... I want to learn how to setup linux and
2006 Mar 20
5
Google AdSense question to Rails community
Hello everyone! I''m not sure if it''s right place to ask, but what is your experience with google adsense? I plan to implement free web service for community and would like to cover hosting costs. Is adsense worth the hassle? olegf
2006 Apr 10
6
detecting browser type?
I''m wondering how i can detect the browser type for the client. I know this is possible, but i cant seem to find how to do this, nor any example code for this. I would appreciate if someone could point me to some info or just give me an explanation. thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 19
1
flickr like DST timezone management
Hello everyone I wonder if anyone can point me to the library for timezone management with DST support, which has timezones, like flickr has. I know that there is TZInfo, but it''s a bit different for it has huge list of available timezones in ''Continent/City'' format. I would like my application to have timezones list more like on flickr (or windows regional settings) -
2006 Apr 20
0
looking for a job
Hello everyone! I''ve been experimenting with Rails for about half-a-year and liked it so much that I feel the need to escape my big evil corporation and join a small RoR web shop. I''m not a guru (yet), but I have experience in programming (PHP, Java, RoR) and linux system administration. I''m calm, honest and responsible. You can take a look at my page http://olegf.name
2006 Mar 16
0
ActionController::Verification problem
Hello, I have a subscriptions model and a ''new'' action in subscriptions controller to create new subscription. Also, I have a ''thankyou'' view, which I want to display only if user is just subscribed. So I want to block access to http://localhost/subscriptions/thankyou action with a verify filter. Here is my code: class SubscriptionsController <
2006 Mar 17
0
ActionController::Verification problem (sorry if it is double post, I''m not sure about the first one)
Hello, I have a subscriptions model and a ''new'' action in subscriptions controller to create new subscription. Also, I have a ''thankyou'' view, which I want to display only if user is just subscribed. So I want to block access to http://localhost/subscriptions/thankyou action with a verify filter. Here is my code: class SubscriptionsController <
2006 Mar 19
2
How to create a proper name for the diff for the RoR patch?
Hello, http://dev.rubyonrails.org/wiki suggests to: Create a patch with your changes: svn diff > my_properly_named_patch.diff but how this proper name looks like? olegf
2006 Apr 04
8
very bold internet explorer only website
Hello everyone, It is offtopic, but i''m so surprised :| I was looking for some filipino martial arts videos through google video, and came to this link http://redcornerboxing.net/ I use Firefox 1.5 on windows. I never seen *such* bold IE only website in my life. olegf -------------- next part -------------- A non-text attachment was scrubbed... Name: ie_must_die.PNG Type: image/png
2005 Dec 25
2
Caching of models?
Hello, people! I have a problem. I googled, asked for help on IRC. I can''t find an answer. Suppose I have model Cart (from "Agile Web Development with Rails"). I added call to logger.warn("Some warning") to one of it''s methods. It fails with NameError, because ''logger'' is unknown to model. undefined local variable or method
2006 Mar 21
13
Double and single quote usage in AWDWR
Hello everyone! I''ve noticed, that the book uses double quotes almost everywhere. It is like <%= javascript_include_tag "prototype" %> I''ve checked the "programming ruby, 2ed" book and found that double quotes are most suited when escape sequences and substitutions are required. Isn''t it more semantically correct to write this code like