Before you do rails driven sites work out about how webservers work
first.
Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/
On 03/02/2009, at 6:01 PM, Newb Newb rails-mailing-l...@andreas-
s.net wrote:
Julian Leviston wrote:
What do you want it to do? What is the
Ok the good configuration for Session store une database by
ActiveRecord is :
class ActionController::RackRequest
DEFAULT_SESSION_OPTIONS = {
:database_manager = CGI::Session::ActiveRecordStore,
:cookie_only = false,
:session_http_only= true
}
end
Add this
I have a strange problem with my setup of Passenger and Ruby Enterprise
Edition.
Sometimes the loading of BigDecimals from the database and session fails
(silently) and the variable containing the BigDecimal is just empty.
I cannot pinpoint where/when/how it happens, and it IS only periodic.
I
On 3 Feb 2009, at 7:37 AM, Newb Newb wrote:
when i use below code to open a google page it works.
INPUT type=button value=New Window!
onClick=window.open('http://
www.google.com','mywindow','width=400,height=200')
But i have html file in my application folder.to open that file i
Martijn Vos wrote:
On 3 Feb 2009, at 7:37 AM, Newb Newb wrote:
thanks for the reply.
ok if i put my folder in public
how can i open that file.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello Everyone
any one know how to validate credit card information in rails ?
please help me
thanks in advance
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on
I doubt anyone will give step-by-step instructions but checkout active
merchant gem. I've found the active merchant pdf in peepcode to be
quite helpful.
Ramon Tayag
On Tue, Feb 3, 2009 at 4:47 PM, Cyrus Dev
rails-mailing-l...@andreas-s.net wrote:
Hello Everyone
any one know how to
Patrick Aljord wrote:
On 10/26/06, Cayce Balara rails-mailing-l...@andreas-s.net wrote:
I think it would be:
@dateregister = params[:user][:registered_after]
sorry that was a typo, this is what I do @dateregister =
params[:user][:registered_after] but I get nil. any idea why?
I do not
Hello
Thanks , is also do payment gateways processsing ? this plugin ?
--
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,
Small discovery:
1) The problem begins after the application has run for a period of
time, e.g ½ hour.
2) If I do a touch tmp/restart.txt the problem disappears - only to
resurface again later
So I think something is bottling up inside the application. When it
happens, it concerns ALL
MaD wrote:
i don't wann disappoint, but i think you'll have to query the whole
entry very long contents and cut off the tail.
GetsomePart.Big_Row[0..3]
if anyone knows a better solution (one that offers more performance),
let me know.
Thx , Mad :D
Any other solution? :)
--
Posted via
pls kindly help me up.
--
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 rubyonrails-talk@googlegroups.com
To
This year at the JAX India 2009 conference, sda-india.com promises to
stage some JAX India Specials that have never been thought of before.
Introducing for the very first time at JAX India 2009 is JAX
University Day and Ruby on Rails Day.
Ruby on Rails Day at the JAX India 2009 conference would
hello,
how protect to_xml and disabled other format or accpet only html
format
example : if user type in url www.mysite/controller.xml , i want to
redirect to another controller.
it's possible to use a routes to do that ?
--~--~-~--~~~---~--~~
You received this
Oh.. okay.. thanks a lot lol. I'll keep that in mind. =D
--
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
So being close to release I started thinking of neat things I could do,
like making an iphone app. I haven't tried making my own iphone app yet
and don't look too forward to it honestly. So I was thinking of making
an API for my rails app and let others with more experience than me give
it
On 3 Feb 2009, at 07:48, MaD wrote:
i don't wann disappoint, but i think you'll have to query the whole
entry very long contents and cut off the tail.
GetsomePart.Big_Row[0..3]
if anyone knows a better solution (one that offers more performance),
let me know.
Well I don't know if it's
On 3 Feb 2009, at 10:43, Newb Newb wrote:
Hi all...
i have folder named test in my application's public folder .
i want to iterate that folder named test which is in public folder.
for that i tried this code it gives me error like
What code :-) ? Dir.each, Dir.glob, Dir.entries can all be
Frederick Cheung wrote:
On 3 Feb 2009, at 10:43, Newb Newb wrote:
Hi all...
i have folder named test in my application's public folder .
i want to iterate that folder named test which is in public folder.
for that i tried this code it gives me error like
What code :-) ? Dir.each,
try this
Dir.foreach(RAILS_ROOT + '/public/javascripts') do |filename|
puts filename
end
--~--~-~--~~~---~--~~
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
What about readlines.last?
On Feb 1, 7:40 pm, Richard Schneeman rails-mailing-l...@andreas-
s.net wrote:
Thanks that did the trick. Do you know if there is an easy way to get
the last result, or everything without having to do so many gets? I
tried .each and readlines but with not much
Hi,
Can someone clarify whether Rails current support nested has_many,
:through? For example:
has_many :business_items, :through = :ai_allocations
has_many :bi_allocations, :through = :business_items # 2nd one
here references a previous :through
I've seen discussion on blogs re support
Hi I have nested resources i.e. projects which have many tasks and a
task belongs to a project.
In my project show view I show project info i.e. title and description
and then list all the tasks associated with it.
I want to have a simple non-javascript form which allows a user to add a
new
I'm trying to load a CSV file into my rails app using a migration and
FasterCSV and running into problems.
I've had this working before when the CSV file has been saved out of
excel, I'd like to do it with numbers now but I can't quite get it to
work as is. I can't believe that excel does a
I'm having a similar problem with button_to and button_to_remote - I'm
trying to set the action to submit through:
%= button_to 'update', { :action = update, :id = product.id } %
Regardless, the button's action points to /products/:id as the html
shows:
form class=button-to action=/products/1
thanks
2009/2/3 MaD mayer.domi...@gmail.com:
i've seen / read those discussions as well (and found it pretty
interesting), but afaik until now it's not a rails feature. last time
i checked it didn't work for me either.
sorry.
--
Greg
http://blog.gregnet.org/
Hi,
Does ActiveScaffold support multiple joins? (i.e. in the :joins =
... part of a find). Can't quite seem to see how to make it work
(e.g. passing an array in for the :joins parameter didn't seem to
work).If it is possible would you be able to drop in an example?
(that is I'm talking
HI guys,
I have a tag field in my rails app.
I want to add auto complete option in tag input field by yahoo UI.
I have googled a lot but nothing found workable.
Here is the best one that I found from net but by protype.
Hi,
I have windows PC.First, i had install sphinx-0.9.8-win32.zip. and then
add sphinx as plugin.and set sphinx.yml file in config/sphinx.yml
my sphinx.yml is as below
config file:: config/#{environment}.sphinx.conf
searchd log file:: log/searchd.log
query log file::
ahh i got confused between create and build. And the @task idea, dont
know why i didnt think about that.
Can i confirm that build doesnt actually add a blank task to @project
but rather just returns one?
Last im wondering how rest changes where i add code. In the above case
when a user adds
Hey Eric,
Thanks a lot for the links. The first one was really useful as that
addresses overlapping permissions for various roles and my application,
I suppose, falls in that domain.
As for the views, yes they are radically different for each type of
user. The app brings different types of
On 3 Feb 2009, at 12:55, Qaiser Wali wrote:
On 3 Feb 2009, at 12:42, Qaiser Wali wrote:
You could use select_year
Fred
I am sorry I do not know ruby as much so will need more help than
this.
You could start by reading the api docs
You could start by reading the api docs
(http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#M001677
)
Fred
Thanks for this, now two more questions remain.
I still need to have a custom value like -- Select -- added in there.
And also for edit time, how do i make
Description:
Generating list,edit,save and show partials for tasks from TrstSysTask
table, based on 'exe_id' value.
Convention:
base_path /app/views/trst_sys (change with --controller_path)
partial_path base_path/xxx/yyy/zzz/_*.html.erb with ./script/generate
task_partial xxx_yyy_zzz
or
I have some default_options in generator and when I wish to change they
value with --option_name I get only logical true instead of string
...
default_options :option_name = Some string
...
def add_options!(opt)
opt.separator ''
opt.separator 'Options:'
opt.on(--option_name,Some Text) { |v|
On 3 Feb 2009, at 13:03, Qaiser Wali wrote:
You could start by reading the api docs
(http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#M001677
)
Fred
Thanks for this, now two more questions remain.
I still need to have a custom value like -- Select -- added in
I 'renamed' the 'Transaction' model to 'Order' and voila: It works!
thanks!
nd
On Feb 2, 6:42 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
On 2 Feb 2009, at 16:44, bachm...@geo.uzh.ch wrote:
Hi
I'm following pretty closely the following the Depot Application from
the 'Agile
max = IO.popen(maxima, w+)
= #IO:0x2535b68
max.readlines.last
^CIRB::Abort: abort then interrupt!!
from /opt/local/lib/ruby/1.8/irb.rb:81:in `irb_abort'
from /opt/local/lib/ruby/1.8/irb.rb:243:in `signal_handle'
from /opt/local/lib/ruby/1.8/irb.rb:66:in `start'
from (irb):2:in `call'
Both of those are covered by the examples in the api docs I linked to.
Fred
Thanks for the help so far, but using this i am running into more issues
that before, I am not getting the field name as i want it using
:field_name to specify the vehicle[year_made] gives me
Thanks for the replies Mukund, Julian, and Comopasta!
@Mukund - I consider it to be a wonderful app ;-) I see this app being
similar and no more complicated than twitterific or tweetie on the
iphone. I'm thinking a SOAP/REST interface is what I will need. Also,
the increased visibility of the
Hi,
I would like to copy one column to another before it's saved.
For example:
% form ... %
%= %f.text-field: about %
%= f.text-field: price %
% end %
Could I copy price to another table column before it is saved?
THank you.
--
Posted via http://www.ruby-forum.com/.
On Tue, Feb 3, 2009 at 2:52 PM, Petan Cert
rails-mailing-l...@andreas-s.net wrote:
Hi,
I would like to copy one column to another before it's saved.
For example:
% form ... %
%= %f.text-field: about %
%= f.text-field: price %
% end %
Could I copy price to another table column before
Hi
I have a rather large project that uses ActiveRecord both with Rails,
and separately in various scripts. All has been working well until
I upgraded from version 2.0.2 to version 2.2.2. Now, ActiveRecord
doesn't seem to be looking for the correct table. Here's an example
of what I'm seeing.
On 3 Feb 2009, at 9:40 AM, Newb Newb wrote:
Martijn Vos wrote:
On 3 Feb 2009, at 7:37 AM, Newb Newb wrote:
thanks for the reply.
ok if i put my folder in public
how can i open that file.
Same way you'd load anything else in the public folder, like images
or css files. Take a look at an
Hm I'm not sure why does it freeze. You could try max.to_a.last or if
all else fails try just skipping unnecessary lines using while loop
On Feb 3, 3:36 pm, Richard Schneeman rails-mailing-l...@andreas-
s.net wrote:
max = IO.popen(maxima, w+)
= #IO:0x2535b68
max.readlines.last
On 3 Feb 2009, at 14:05, Kenneth Dunlap wrote:
class Scode ActiveRecord::Base
Scode.establish_connection(self::Conf)
end
irb(main):001:0 require 'scode'
= true
irb(main):002:0 Scode
= Scode(Table doesn't exist)
irb(main):003:0 Scode.table_name
= \e[4mScode\e[0ms
I know I can
Hi!
I have updated my app to rails 2.3. I have form that has few nested
models and I am happy that I can just write
accepts_nested_attributes_for :tasks, :allow_destroy = true, but
update_attributes! does not update my nested model. I have tried
update_attributes, and it works. Any ideas?
Few
anyone help with this.
I'm not sure what's happening here. Maybe my data contains line feeds
within the cells of data itself and that's throwing it out?
Another thought is that I could go into numbers and do a find replace on
the carriage return character...just not sure?
What does this
Hola a todos.
Una pregunta quizas algo tonta, cuando hago validaciones en el modelo
con mensajes para la vista en español efectivamente me los muestra en
español, pero como puedo hacer para que estos mensajes que son
genéricos:
1 error prohibited this categoria from being saved
There were
Thanks for the reply.
I wrote a small test but I don't see how I can render a partial when
the onchange event is triggered. Don't I have to use RJS for this?
% options = [wedstrijd, mededeling] %
%= select_tag test, options_for_select(options),
:onchange =
When moving to Rails 2.3.0RC1 I get an error with concat!? I can't
figure it out. See the dump below:
ActionView::TemplateError (You have a nil object when you didn't expect
it!
You might have expected an instance of Array.
The error occurred while evaluating nil.) on line #158 of
Hello, again. I just wanted to post this here for the future help of
anyone searching the archives.
This works:
assert_select [[name=?], areas[1]], {:count = 0}
Evidently, the areas[1] is a part of the selector (which can be
specified as an array), and not the text value of the hash.
Hi,
I dare to ask but is the data the same in dev and prod?
A second thing, there's a bit difference between merge and merge!
please try
without the !
And last but not least: I think these two lines are wrong, but I'm not
sure what
should be used for the if statement
find_method =
It seems to be something with form_for and blocks or something?! It does
NOT appear in Rails 2.2.2 however :S
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on
As I mentioned in http://www.ruby-forum.com/topic/177503 I can't pass
arguments to rails generator. After a couple hours I find a dirty hack
def add_options!(opt)
opt.on(--option_name,Some Text) { |v| options[:option_name] = arg[0]
}
but regardless what i do the options hash still 'll
Hi Shilo,
On Tue, 2009-02-03 at 12:51 +0100, Shilo Ayalon wrote:
I'm having a similar problem with button_to and button_to_remote - I'm
trying to set the action to submit through:
%= button_to 'update', { :action = update, :id = product.id } %
Regardless, the button's action points to
Hi,
I have a model with three attributes that could be a fixed set of
different values. Each attribute does not have sufficient entity to be a
class (in my opinion) and I prefer to not to create classes in order to
store them.
For example, one attribute can be only three strings: phone, email or
On Feb 3, 11:29 am, bill walton bwalton...@gmail.com wrote:
Do you plan to write up your experiences with the platform? I'm sure
I'm not the only one who'd be interested.
+1. We've considered EC2 for an app we are currently using a
dedicated server for. I would be interested in some of
The fact is that the project I'm developing is a database connection API
and, although is not essential, it would be nice that it could checks
the data integrity. The reason for do that is to improve the user (or
programmer :P) experience and prevent potential errors in the final
application,
You could have another column in the table, containing the short version.
2009/2/3 Ukrit Himakoon rails-mailing-l...@andreas-s.net
MaD wrote:
i don't wann disappoint, but i think you'll have to query the whole
entry very long contents and cut off the tail.
GetsomePart.Big_Row[0..3]
On 3 Feb 2009, at 13:44, Qaiser Wali wrote:
Both of those are covered by the examples in the api docs I linked
to.
Fred
Thanks for the help so far, but using this i am running into more
issues
that before, I am not getting the field name as i want it using
:field_name to specify
I've done some quick searches on REST API as SOAP isn't recommended by
the rails community.
Came up with this site:
http://hinchcliffe.org/archive/2008/01/10/16613.aspx I'll take a more
in depth look later on.
If anyone else has something to contribute, feel free!
-Tony
--
Posted via
This command did it for me, in the terminal...
tr -d '\n' edit_unicode_utf8.csv fire_new.csv
stripped out \n i suppose.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hello,
I have two ActiveRecord classes. One is Route the other is Waypoints.
I have constructed an XML representation so I can use AJAX to create a
Route with all waypoints in a single create call to RouteController.
When I call Route.from_xml(xmlString) it is not returning an object -
it's
Is it ever sensible to attempt to persist data across a session using
request.env? Say something like:
request.env['user_name'] = 'bob'
I'm discussing this with the maintainer of a commercial gem (where it
doesn't seem to work).
My natural instinct would be to do this instead (indeed, I
On Feb 3, 5:42 pm, andrew.ohns...@gmail.com
andrew.ohns...@gmail.com wrote:
On Feb 3, 11:29 am, bill walton bwalton...@gmail.com wrote:
Do you plan to write up your experiences with the platform? I'm sure
I'm not the only one who'd be interested.
+1. We've considered EC2 for an app we
Billee D. wrote:
Hopefully I am not misunderstanding your intent here, so please excuse
me if I am missing something.
Hi Billee and thank you for the help!
So far I have all of that pretty much learned. My question (and maybe
I'm misunderstanding this greatly) is how to make an API for
Hopefully I am not misunderstanding your intent here, so please excuse
me if I am missing something.
If you want an API for a Rails app then a RESTful interface is the way
to go. In your controllers you need to add a respond_to directive
inside each method for XML output:
respond_to do |format|
On Feb 2, 2:54 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
On Feb 2, 1:33 pm, Ryan Bigg radarliste...@gmail.com wrote:
Why not use a search plugin like thinking sphinx to do your searching
for you?
Overkill. The searching is rudimentary so I just quickly created
something.
Hello all, I'll be writing something tonight about the whole
experience. On the whole, I couldn't be happier with all of Amazon's
offerings :)
On Feb 3, 1:58 pm, tatyree taty...@googlemail.com wrote:
We're running a flirting site
(http://www.flirtanywhere.comhttp://flirtanywhere.mobi), on
Cyrus,
You gotta check out Amy Hoy's cheatsheet!
http://www.slash7.com/articles/2008/12/29/jump-start-credit-card-processing
http://jumpstartcc.com/
Cheers, SAzima
On Feb 3, 6:47 am, Cyrus Dev rails-mailing-l...@andreas-s.net wrote:
Hello Everyone
any one know how to validate credit card
Read the Table Aliases part of
http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html
On Feb 3, 6:54 am, Greg Hauptmann greg.hauptmann.r...@gmail.com
wrote:
Hi,
Does ActiveScaffold support multiple joins? (i.e. in the :joins =
... part of a find). Can't quite
one way would be a before_filter, e.g.
class ApplicationController ActionController::Base
before_filter :trap_xml
def trap_xml
if params[:format] == 'xml' params[:action] != 'my_xml_action'
redirect_to :controller = 'my_xml_controller', :action =
'my_xml_action'
end
end
arr, thanks - I needed to symbolise the strings I was using
2009/2/4 jemminger jemmin...@gmail.com:
Read the Table Aliases part of
http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html
On Feb 3, 6:54 am, Greg Hauptmann greg.hauptmann.r...@gmail.com
wrote:
Hi,
On Feb 3, 12:50 pm, Wes Gamble rails-mailing-l...@andreas-s.net
wrote:
I recently had a need to install the Rails 1.2.6 gem (for support
reasons). When I did it, the dependencies were not installed
automatically, so I had to find and get the correct versions of
actinomailer, actionpack, etc.
Because maybe you don't want it to happen all at once, maybe you need
to stage things. Imagine you're developing new features for an
existing system, and you create some destructive migrations. You want
those to automatically affect your other environments when you might
not even be done
Anyone? Anything?
--
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 rubyonrails-talk@googlegroups.com
To
On Tue, 2009-02-03 at 19:50 +0100, Wes Gamble wrote:
I recently had a need to install the Rails 1.2.6 gem (for support
reasons). When I did it, the dependencies were not installed
automatically, so I had to find and get the correct versions of
actinomailer, actionpack, etc.
Anybody seen
http://letmegooglethatforyou.com/?q=ruby+warning%3A+encoding+option+is+ignored+-+N
On Feb 2, 5:16 am, Alex Sokoloff alsokol...@gmail.com wrote:
= Booting WEBrick...
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.2.2/lib/
action_controller/routing/segments.rb:6: warning: encoding option is
Anyone that knows if there is a menu builder or menu engine for rails
that creates drop down menus and that is compatible with rails 2.2.2
I am really looking for one that I can integrate withe the i18n
features in rails 2.2.2
--~--~-~--~~~---~--~~
You received
Look at http://en.wikipedia.org/wiki/Luhn_algorithm.
It's a good screen against flat-out invalid numbers. After that, it's
between you and your credit card payment acceptor.
On Feb 3, 2009, at 12:47 AM, Cyrus Dev wrote:
Hello Everyone
any one know how to validate credit card information
I don't think you can supply :controller = some_controller in
link_to_remote, only :action and :id are valid. I think you should
embrace the resourceful way of doing things and add this to your
routes.rb file:
map.resources :users, :controller = 'admin/users', :name_prefix =
'admin_'
This would
John, if you want to learn Ruby and Ruby on Rails, you probably need
to start by buying a book first that explains all the basics of the
language. A lot of people start with this one for Rails:
http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition
which if I
hey Rudy,
maybe tabnav is monkey patching something that has changed quite a bit since
the version you installed was last modified. I googled around and
discovered tabnav is now part of rails widgets. Is that what you
installed.
*http://github.com/paolodona/rails-widgets/tree/master*
It
I do think that Fernando has a valid point. There is, for example,
already a rake task that can create all of your databases at once,
namely `rake db:create:all`. A `rake db:migrate:all` might be a
useful thing to have. That being said, it would be pretty trivial to
code this yourself.
Greg
X-Posted from RSpec mailing list
I am having a good deal of trouble grappling with how rake tasks are
processed. In my rcov.rake file I have this:
desc Rcov code coverage reports
require 'rcov/rcovtask'
require 'spec/rake/spectask'
require 'cucumber/rake/task'
#task :rcov = rcov:complete
Hi,
I tried to submit this via lighthouse, but after third POST failure
(mail also failed) I thought maybe someone here will be interested and
forward this further.
In my application I have dependent models and I wanted to use
before_destroy callback to validate if dependent item could be
here's an example of how the port number can be accessed
*http://pastie.org/169850
al
*
On Tue, Feb 3, 2009 at 1:26 PM, spokra spo...@gmail.com wrote:
Have an app that works fine in development but not production behind
pound that uses Geokit. I've figured out the API key is wrong. is
On Feb 3, 7:33 pm, MaggotChild hsomob1...@yahoo.com wrote:
On Feb 2, 2:54 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
Does it only happen when class caches is false ?
Why yes Fredrick, it does. I wonder why that can be. Your thoughts
would be appreciated.
That pretty much
I'm having some issues with routing when using controllers in sub-folders.
I have controllers in an admin folder that look like this:
class Admin::UsersController ApplicationController
end
My link_to_remote calls look like this:
%= link_to_remote 'Users', :url = { :controller =
You can't be following it THAT closely. Transaction is reserved in
active record for database transactions
Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/
On 04/02/2009, at 6:19 AM, Alan Brown stre...@gmail.com wrote:
i know this seems obvious, but are you sure the
Across a session, or a request/response loop?
Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/
On 04/02/2009, at 5:47 AM, tatyree taty...@googlemail.com wrote:
Is it ever sensible to attempt to persist data across a session using
request.env? Say something like:
Have an app that works fine in development but not production behind
pound that uses Geokit. I've figured out the API key is wrong. is
there a way to configure each mongrel with a different API key? if
there a variable i can check in the initializer and provide the right
API key for that port
I keep getting this when I try to start the server:
[Macintosh:rails/work/demo] jslicari% script/server
/Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths': uninitialized
constant Gem::Etc (NameError)
from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each'
from
yes active merchant does gateways and also paypal stuff (my usage so far).
there is a very good cheat sheet on how to use it for gateways:
http://jumpstartcc.com/
On Tue, Feb 3, 2009 at 1:01 AM, Cyrus Dev
rails-mailing-l...@andreas-s.netwrote:
Hello
Thanks , is also do payment gateways
Hi,
I am having trouble creating a new article on Mephisto on my Dreamhost
server. I am using Rails 2.0.2 and Mephisto 0.8.
When I login to the admin area and then attempt to create a new
article I see this error in my log
Code : - fold - unfold
1. Parameters: {action=new,
during staging devs, I want to protect the access to the site
I wrote the folwoing into an .htaccess file in my public directory
# Access control policy
AuthType Basic
AuthName AelmatRepository
AuthUserFile /etc/apache2/dav_aelmat.passwd
Require valid-user
works fine... BUT there is no
Is the template there, on the production machine?
Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/
On 04/02/2009, at 9:48 AM, Borja Martín bor...@dagi3d.net wrote:
Hi,
I'm trying to use ar_mailer to send newsletters in my application. The
thing is that what I've
active merchant comes w/ somr luhn javascript validation too
On Tue, Feb 3, 2009 at 1:15 PM, s.ross cwdi...@gmail.com wrote:
Look at http://en.wikipedia.org/wiki/Luhn_algorithm.
It's a good screen against flat-out invalid numbers. After that, it's
between you and your credit card payment
Check out validates_inclusion_of
http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#M002112
On Feb 3, 9:10 am, Juan Kinunt rails-mailing-l...@andreas-s.net
wrote:
Hi,
I have a model with three attributes that could be a fixed set of
different values. Each
1 - 100 of 144 matches
Mail list logo