search for: depixelate

Displaying 20 results from an estimated 28 matches for "depixelate".

2007 May 31
4
Sample Merb App
I put together a sample app to help people learn Merb: http://svn.depixelate.com/applications/invoice_tracker/ I also blogged about it here: http://depixelate.com/2007/5/31/taking-merb-for-a-spin -- Zack Chandler http://depixelate.com
2007 Mar 24
4
image file URL generated by image_tag include some parameter
I''m using image_tag to generate img tag. URL of image file generated by image_tag include a parameter like following. "http:// ..... /images/filename.gif?123123123" What''s this number parameter for? How can I remove it? I''m using rails with built-in WEBrick server in test mode. --~--~---------~--~----~------------~-------~--~----~ You
2006 Nov 17
4
set empty values as null in the database
Le''s say that I have a table called people and the column middle_name is nullable. If the user enters say blank or empty space then in the database it is recorded as empty space. I would like in all my models all empty spaces to be recorded as null. I guess I can write a plugin which will do so for all the models but I''m sure something like that should already be existing.I
2006 Aug 10
6
Login Restfully
In DHH''s keynote, he alluded to doing logins with REST. Has anyone implemented this, and if so, would you mind elaborating on how you did it please? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2006 Aug 15
7
mongrel_cluster not starting on reboot
...#47;rc4.d/S20mongrel_cluster -> ../init.d/mongrel_cluster /etc/rc5.d/S20mongrel_cluster -> ../init.d/mongrel_cluster www:/etc/init.d# Specs: mongrel 0.3.13.3 mongrel_cluster 0.2.0 on debian sarge (rimu). Any ideas? -- Zack Chandler http://depixelate.com
2006 Aug 17
8
instance variables in templates
Hey all, Well... hmm... feeling pretty stupid here... For some reason my controller instance variables are not displaying in my templates. I''ve boiled it down to this test case. class Rss::FilmController < ApplicationController def display @time = Time.now end end and the template: <html> <head> <title>Is This Ever Going To Work</title>
2006 Nov 18
1
ETS eMoney?
Anyone used ETS Corporation''s EMoney ECOM Gateway ? I''m working on a project that will have to interface to it and if the work has already been done was hoping not to re-invent the wheel. Failing that, which payment gateway gem option is better - ActiveMerchant or Payment, or are there others ? I''m willing to add the work done for this to whichever option we use in
2007 Mar 23
2
assert_select VS assert_no_tag
Hi everybody. Assert_no_tag will be deprecated soon. How can i use assert_select for checking not existed tag? Thanks. Bye. --~--~---------~--~----~------------~-------~--~----~ 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
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
I am using rxml to produce opml files and need to escape ampersands in the attributes. builder 2.0 docs found at http://builder.rubyforge.org/ show the following xml = Builder::XmlMarkup.new xml.sample(:escaped=>"This&That", :unescaped=>:"Here&amp;There") xml.target! => <sample escaped="This&amp;That"
2007 Mar 09
5
storing customer CC on gateway
I posted this late yesterday afternoon to no response, so I figured I''d try once more to get the morning people''s attention. I''m working on setting up the credit card processing part of a rails app for my company and running into some issues. I''m currently working with the ActiveMerchant plugin and connecting to our account at Authorize.net.
2007 Jan 29
6
RJS problem
Hi, I''m implementing a "digg-like" page, that once you digg. The score for each item will dynamically reflect your current action +1 . I am not sure what''s In the controller I have an action responsible for increase of the score.It has a corresponding rjs in view. -------------------------------------------------------------------------------- def arouse
2006 Aug 10
2
save / update and validate
Hi, It seems that the validate method in ActiveRecord is not call when doing an myActiveRecordObject.update, right ? So, I call the save method instead, and the validation happens... some has an explanation ? thanks arnaud
2006 Aug 15
2
to_xml and underscores
hi, i am looking for a solution whereupon calling myEntityObject.to_xml does not convert my attributes containing underscores into hyphens. at the moment an attribute named "my_own_attribute" is converted into <my-own-attribute>. does anybody have an idea how to change that and have to_xml generate <my_own_attribute> thanks ciao robertj -- Posted via
2007 May 22
1
Just Starting Out
Hi All, I''ve got a project that I really want to do on Merb. I''ve started on rails, but I''m not too far down the track. Is there some tutorial style docs available for it yet that anyone knows of? Cheers Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Feb 05
2
Restful table column sorting with pagination
Anyone able to implement table column sorting and pagination with Restful routes? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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
2007 Feb 15
1
Has anyone run function tests on ActionMailer?
I am running function tests to see if ActionMailer mails out an email. I have two development machines, both with rails 1.1.6. On one machine, the ActionMailer::Base.deliveries array resets itself after each test. On the other machine, the array keeps accumulating the emails from the previous function tests and doesn''t clear out the array after each test. Both machines have identical
2007 May 01
2
Silence logging for a particular action
...uot;, "controller"=>"site"} Completed in 0.00019 (5159 reqs/sec) | Rendering: 0.00006 (28%) | DB: 0.00000 (0%) | 200 OK [http:// /ping] all over my log files every time monit does it''s business... Any ideas? Thanks, -- Zack Chandler http://depixelate.com --~--~---------~--~----~------------~-------~--~----~ 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 grou...
2006 Aug 14
1
Rest, routes, path_prefix and default params
I am trying to use routes with default params to have routes ''/mycompany/departments'' and ''/companies/1/departments'' mean the same thing (both restful routes). When I set up the files as below, I get an error of ''Couldn''t find Company without an ID'' and my log file shows the following .. Processing
2006 Aug 17
4
using time_ago_in_words() in a controller?
I''m getting this error when I try to update a list using ajax after submitting some data: undefined method `time_ago_in_words'' for #<IdeaController:0x3a38ae8> the LOC is this: render_text "<li>" + @params[:idea][:title] + "<br />by " + @params[:idea][:author] + " | " & time_ago_in_words(Time.now) & " ago |
2007 Mar 17
3
How is this done with REST (blinksale account)?
In Blinksale, the settings link in the top right takes you to the / account url. From there, the side nav takes you to /account;templates / account;reminders , etc. >From what I''ve read, ;templates and ;reminders are custom rest actions for a given resource. But the controller (account) does not appear to be of rest nature. Also, when creating a new account, the url is