search for: rsl

Displaying 20 results from an estimated 66 matches for "rsl".

Did you mean: rpl
2006 Oct 31
12
Moving page_cache_directory
...t -r public/cache but doing that means that the images and stylesheets don''t get picked up. I''m sure there''s a way to tell Mongrel to look in both places or at least to serve assets from public and cached pages from public/cache. Isn''t there? Thanks in advance. RSL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061031/e4c56b38/attachment.html
2008 Aug 31
9
assigning collection values and exceptions
hi everyone, I''ve this code in my Report model: has_many :report_reasons, :validate => true has_many :reasons, :through => :report_reasons #, :uniq => true # :accessible => true def reason_attributes=(reason_attributes) reasons.clear reason_attributes.uniq.each do |reason| reasons << Reason.find_or_create_by_content(reason) end end
2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X Leopard: /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined method `time_zone='' for #<Rails::Configuration:0x12c9f24> (NoMethodError) from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'' from
2007 Jan 06
6
Exception notifier not working
I installed the exception notifier via: /script/plugin install -x exception_notification It resides in the vendor/exception_notification directory (as advertised). I''ve configured environment.rb with the following: ExceptionNotifier.exception_recipients = %w(blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org) ExceptionNotifier.sender_address = %("Application Error"
2020 May 12
1
Ms Exchange vs dovecot
On 12-05-2020 15:45, Michael Hirmke wrote: > Hi Robert, > >> Hi, sorry for top post >> but short answer is ,there is no exchange without outlook, that is what >> makes exchange a good "groupware solution", on windows only. >> So compare it to dovecot makes only small sense..... > > you can use Exchange with pure IMAP clients, too, but then you lose
2008 Aug 21
1
rescue_from failing to rescue [from]
Having some weird failures of rescue_from in all my specs. They still rescue in actual usage, just not in my specs. Made a pastie of the code: http://pastie.org/257399 This is with latest [as of 1:00 PM Eastern time zone] rspec/rspec-rails/edge. Thanks in advance for any replies on this. RSL -- Posted via http://www.ruby-forum.com/.
2009 Jun 25
2
installation problems
...y a graphics screen for the fractint, all I get on it is a text cursor which won't curse. Civ II installs nicely in the Wine "C" drive, but won't play --------------------------------------------------------- and the Pagemaker bombs out with a message: "can't find PM65.rsl" Is there a way to direct its attention to the proper directory, or a directory where I can expect the program to find it? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
2007 Feb 27
14
Stop browser from "form filling" fields.
Hi all, I have a user login form which the browser keeps populating because of its form fill feature. So when anyone goes to log in it shows the previous login''s username and password. How can I stop the browser from populating a text field? Thanks in advance. Cheers, Diego --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2007 Mar 29
4
validates_length_of not working with :if ?
Hello, I''m trying to cut down the errors if the guy already getting the empty nickname, so he doesn''t get anything about the nickname is short. validates_presence_of :nickname This below is not working ? validates_length_of :nickname, :within => 4..40, :if => Proc.new { |user| user.nickname.length > 1 } nor this one below? validates_length_of :nickname, :within
2008 Aug 19
5
RSpec raising routing errors where Rails doesn''t?
...uot;index"} but works fine in my app and generates the following, desired HTML: <form id="edit_fund_18" class="fund" method="post" enctype="multipart/form-data" action="http://domain.com:3000/funds/18/edit">. Many thanks in advance. RSL -- Posted via http://www.ruby-forum.com/.
2007 Mar 29
1
How to restart server programmatically?
...figure out how to pass it the correct parameters when just _requiring_ "commands/process/reaper" calls an instance of Killer. I''d really appreciate your help, kittens. Before I forget, I''m running Apache2 [no Mongrel, sadly] and Edge Rails if that makes a difference. RSL --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send...
2007 Oct 19
11
Patch idea for rspec_on_rails
...mething the community would like. Instead of pasting in the code into the email, I thought I''d just make a pastie and let those interested read it there: http://pastie.caboo.se/108922 I think it would make a nice addition to the current Rails matchers. Here''s hoping you do too. RSL
2007 Oct 21
4
Making 'expire_fragment' available to a model?
I noticed a lot of repetition across different Sweeper models in my app expiring the same fragments and so have been trying to move all the expire_fragment calls into another model which the sweepers can then use but it''s not working as I''d hoped.. I''ve created a CacheDestroyer model and want to be able to call something to the effect of:
2008 May 14
3
New blog application post slugs
Hello. I''m creating my own RESTful blog app. I am wondering about creating post slugs. I think Wordpress creates a slug at post creation time and stores the string in the database, then uses that for URLs. I read about the acts_as_sluggable strategy (http:// agilewebdevelopment.com/plugins/acts_as_sluggable) but I don''t like having a number (the ID) in the URL. Any
2007 Mar 15
7
SEC to minutes
Hi Friends, I am new to ruby on rails. I want to convert seconds to minutes. like if 220sec= 3.40 minutes I did in this way sec/60 but it giving the false results ex : 70 sec = 110/6=1.8 but it is worong as for time Can u give any advice? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2007 Mar 30
10
check_box_tag not passing 0 when unchecked?
Code: <%= check_box_tag("person[#{person.id}][is_approved]", 1, true) %> Rendered output: <input checked="checked" id="person[7][is_approved]" name="person[7][is_approved]" value="1" type="checkbox"> Problem: The value of "1" is always passed, even if the box is UNCHECKED. Suggestions? Thanks! -- Posted via
2007 Jan 23
11
dynamic tablenames
Hi List! May I tap into your combined common sense ? I have a legacy logging app that needs to be modernized. At the moment, Data is going to be stored in 5 tables, one table is going to contain more than 200 million and 2 others about 60 million rows. Mysql will be used, unless someone sees a major advantage in using something else (at the moment data is stored in a raw positioned file format,
2007 Feb 10
3
recognize_path discrepency
hey all - wondering if someone would relive my confusion... given a model called say Meeting and a route as "map.resources :meetings" in the console: >>r=ActionController::Routing::Routes >>r.recognize_paths "/meetings" =>{:action="index",:controller=>"meetings"} all works as I expect, but if I do >>r.recognize_paths
2008 Apr 21
7
undefined method `partial_updates='
Hello When I try the command: rake db:migrate I get the following: rello@calimero:~/Sites/music_library/config$ rake db:migrate (in /home/rello/Sites/music_library) rake aborted! undefined method `partial_updates='' for ActiveRecord::Base:Class I googled with no results. Anybody can help me? Thankyou -- Posted via http://www.ruby-forum.com/.
2007 Feb 16
13
negate the regexp in validates_format_of
Railsters: ActiveRecord''s validation system puts other database systems to shame. However, the newbies might not know how to write a regexp that excludes a match, instead of tests for it. Understand - I''m just asking this question to help them. I have been using Regexps since ''grep'' on Xenix! But the newbies here might not know how to do this: