search for: lindsaar

Displaying 20 results from an estimated 48 matches for "lindsaar".

2009 Dec 30
3
Mail now in ActionMailer
...to call :to_s to get string values. Mail also has :decoded and :encoded methods for every object which should help you out more. Also, unlike ActionMailer''s vendoring of TMail, Mail is a gem dependency, so we can keep things up to date easily. You can read about the Mail gem at: http://lindsaar.net/2009/9/17/mail-tmail-the-future-of-ruby-email-handling http://lindsaar.net/2009/10/28/new-mail-gem-released http://lindsaar.net/2009/9/18/mail-and-bounced-emails http://github.com/mikel/mail The commit where Jeremy merged in my changes is at: http://github.com/rails/rails/commit/b27a3e8da3948...
2009 Dec 30
3
Mail now in ActionMailer
...to call :to_s to get string values. Mail also has :decoded and :encoded methods for every object which should help you out more. Also, unlike ActionMailer''s vendoring of TMail, Mail is a gem dependency, so we can keep things up to date easily. You can read about the Mail gem at: http://lindsaar.net/2009/9/17/mail-tmail-the-future-of-ruby-email-handling http://lindsaar.net/2009/10/28/new-mail-gem-released http://lindsaar.net/2009/9/18/mail-and-bounced-emails http://github.com/mikel/mail The commit where Jeremy merged in my changes is at: http://github.com/rails/rails/commit/b27a3e8da3948...
2008 Jun 11
6
how to create new database to oracle ?
i have rails-2.1.0 my database.yml development: adapter: oracle database: pe username: or password: or >rake db:create >rake db:version --->Current version: 0 >rake db:migrate rake aborted! ORA-12154: TNS:could not resolve the connect identifier specified (See full trace by running task with --trace) is above idea is possible, then how ? and i thing i should give service
2009 Jan 11
6
Why does ActiveRecord allow perception of success when updating an ID, however it doesn't really work(i.e. no change in database)?
Hi, Why does ActiveRecord allow perception of success when updating an ID, however it doesn''t really work(i.e. no change in database)? Here''s an example. The update of "id" versus update of a non-existent attribute. ?> ai = AccountItem.find(:first) => #<AccountItem id: 1, account_id: 1, date: "2009-01-11", amount:
2008 Jul 04
4
select_datetime // datetime_select
Hi I have 2 question for you guys, 1. Which is the difference between this two methods? (select_datetime, datetime_select) 2. How I assign the selected date-time values, to an specific variable or array using select_datetime I know do it using datetime_select(''object'',''method'') I aprecciate your attention. Thanks PD: Sorry about my english.
2007 Jul 18
10
Rails - Mock going out of scope?
Hello list, I think I have a rails related RSpec problem with a mock going out of scope on a recursive call to a model. The code is at: http://pastie.textmate.org/79821 if you want to see it highlighted. I have pasted it below as well. Basically, I have an acts_as_nested_set model called "Node", which works fine. I have a function which finds the language name of the node instance.
2008 Nov 05
5
rake features and cucumber feature/name not producing same result
...atures or cucumber features/* it fails, run individually, it passes. Obviously some state is carrying over between the features. Any idea where i would start looking to debug the problem? Are features transactional? Should I be investigating inter feature state contamination? Mikel -- http://lindsaar.net/ Rails, RSpec and Life blog.... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081105/fa58aa5a/attachment.html>
2008 Dec 03
8
Indentation Conventions for Ruby and Cucumber
On Thu, Nov 27, 2008 at 4:28 PM, Aslak Helles?y <aslak.hellesoy at gmail.com>wrote: > When (if) this thread ends, let''s start a discussion about indentation > conventions! > Oh... let the pleasure be mine!... and why wait? _EVERYONE_ knows that the only way to indent ruby code is 2 plain spaces. Tabs are known to be the source of all evil and 4 spaces obviously wastes
2009 May 27
3
Call in progress tones
Hello all, I've played with background and play sounds apps and googled around and asked the list before to no avail. Does anyone know of a way to have tones played during the call progress stage of the call? We (especially on some international circuits) get up to 5 seconds of silence before the phone starts ringing or is busy. I don't want to force "R" on the Dial app as
2009 Mar 04
1
Question on phone line "pass through"
...through asterisk on the TDM800 FXO, should I be expecting any problems? Or should this just work as expected? (ie, flawlessly with the asterisk box essentially transparent to the whole operation). I am doing it this way to allow many faxes and modems to share a dial out pool. Mikel -- http://lindsaar.net/ Rails, RSpec and Life blog....
2007 Jul 29
24
View-Driven-Development by Behavior-Driven-Development and RSpec
One of the things that turned me on to BDD and RSpec was speccing views first, that the desired end would drive the development. In previous projects while using Test::Unit I would try to make educated guesses as to what would be needed in the model and controllers to derive the view without actually writing the view until afterwards. This is all because testing relied on each previous
2009 Oct 31
3
1.9 Compat and merging mail gem into ActionMailer
...hich is fantastic. But with a bit of help, we can knock this over very fast. Mail is doing fairly well. It needs some refactoring, but I am expecting several .x releases over the next weeks as we refactor and get it working with ActionMailer. Any comments / suggestions, all welcome. -- http://lindsaar.net/ Rails, RSpec and Life blog....
2008 Feb 21
1
Using Really Simple History on Rails
Hello all, I am getting Really Simple History working in rails. I''ve got this history content up etc, but I am a bit lost on how to capture the XHR response data from the Rails app to insert into the history. My understanding would be to have some way of grabbing the response data from the Rails app, inserting that into the history with dhtmlHistory.add(''PageName'',
2010 May 04
1
Couldn’t get bounced email id in “Failure delivery notice”
Hi All, We have an email receiver component to receive mails. We couldn’t get the bounced email id from “failure delivery notice” email. Scenario: In email receiver, we need to process the bounced emails separately as in it needs to be tracked and take a action to stop sending emails to particular email-id if it is hard bounce, and if it’s a soft bounce, we have to make a count for it and take
2008 Nov 18
1
Asterisk not reading fast DTMFs, was: PBX -> PRI -> * -> Telco not working
...e analogue extensions and dial fast (like an autodial) asterisk doesn't read the digits properly. If I connect manually and dial slowly, asterisk reads all the digits correctly and can handle the call. Is there any way that i can get asterisk to read the faster DTMF digits? Mikel -- http://lindsaar.net/ Rails, RSpec and Life blog.... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081118/d32cc72e/attachment-0001.htm
2008 Jun 04
8
Why has the --color gone from my life?
Hi all, Running on OSX 10.5.3, Latest Rspec trunk, Rspec rails trunk, latest autotest gem and rails 2.1 I''ve lost my colour output in autotest. rake spec gives colour output, but autotest gives me black and white. It was working a little bit before, I think I upgraded to the latest versions of everything to get all the textmate snippets talking and being friendly to one another again
2008 Nov 17
4
Debugging Asterisk
Hello all, Two questions: 1) What do people on the list do to debug phone quality issues. Phone quality seems to be a very subjective thing. But are there metrics that you can work against? Like maybe generating a tone and measuring the return quality etc? It looks like all trial and error right now. If that is the way it is, then fine. But anything more accurate / scientific? 2) Also
2008 Dec 21
5
Good comparisons on cheaper VOIP phones
Hello list, I am doing some work for a non profit group. As part of this, I am going to be putting in a 30 handset Asterisk solution. We are trying to keep the costs down as much as possible, as this job includes cabling, I am looking at POE solutions. On the switch side, I am considering something like some Netgear ProSafe FS726TP 24 port switches, or maybe the equivalent Linksys SRW224MP 24
2008 Mar 13
6
What is SpecServer?
I have looked through the docs, looked at the code, even gave a cursory (2 page) glance at google, and it is not clear to me what SpecServer is or what it is for. Is it meant to speed up the execution of specs in a rails environment by doing some magic on the database? Or I am thinking it keeps a copy of Rails running to avoid the rails reload delay... Is there any documentation on this so I
2007 Jun 29
1
Speeding up :dependent => :destroy
...hod which puts the child delete in a transaction, and then cascade that same before_destroy method in each subclass (feels like a bad hack). Create a stored procedure in Mysql to handle it (not portable). Has anyone else fixed this problem before? What is the best way to go here? Regards Mikel Lindsaar. --~--~---------~--~----~------------~-------~--~----~ 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, sen...