This did the trick for me! Thanks for sharing!
On Oct 2, 1:17 pm, tomrossi7 wrote:
> I figured it out! I was setting my options like this (which used to
> work):
>
> Paperclip::Attachment.default_options.merge!(:command_path => "/usr/
> local/bin")
>
> But I noticed others using this method, wh
http://pastie.org/691288
I did some fine tuning and came up with a rather interesting way of
keeping all of it to one class to represent the money. This is an
example of one of the sets, the others look like this with a few
changes. At the moment if it tries to be set to something below 0 it
will
On Nov 10, 6:48 am, Jeff Pritchard
wrote:
> It seems like this should be very simple and very common.
>
> I'm using "acts_as_rated" plugin to rate images
> I'm using mislav-will_paginate gem to paginate a list of images
> (not really relevant, but also using paperclip to attach the photo to
> t
On Nov 10, 6:35 am, Chinna Gogulapati wrote:
> Hey guys
>
> I am very much new to ruby. I was just trying to implement a websrvice
> example in Ruby on Rails by using
> "http://www.ibm.com/developerworks/opensource/library/os-ws-rubyrails/...";
> i got the error like this.can any one help me to
On Nov 10, 3:31 am, Lady Hawk
wrote:
> I have a model called "Media", database table "Medias". I had to rename
> that model to "Medium" and the database table to "Mediums".
> and now when I run my application , I get the following error:
>
> ActiveRecord::StatementInvalid in MediumsController#i
It seems like this should be very simple and very common.
I'm using "acts_as_rated" plugin to rate images
I'm using mislav-will_paginate gem to paginate a list of images
(not really relevant, but also using paperclip to attach the photo to
the "image" model
I figured I could do something like th
Hey guys
I am very much new to ruby. I was just trying to implement a websrvice
example in Ruby on Rails by using
"http://www.ibm.com/developerworks/opensource/library/os-ws-rubyrails/index.html";
i got the error like this.can any one help me to resolve this issue.
Error is..
NameError in Hel
Hi Kazim Zaidi
> to make sure that user entered text doesn't cause us to end in spam?
You can watch rails screencasts 65 from Ryan for this
>
> The choice of mail server -- third party, our own dedicated, or Google
> Mail.
> Whether this should be same in staging & production environments or
Antony Nambikkai wrote:
> My qus is misleading you all I hope ..
>
> Actual Scenario is . In out project there are lot of config
> pages.
>
> ex : Setting server time
>
> so in csv or flat file it will not be more then 3 records..
>
> we have 10 config like this as of
If I used the postgres gem means It shows "Postgres - Adapter gem not
found."
--~--~-~--~~~---~--~~
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@goog
My qus is misleading you all I hope ..
Actual Scenario is . In out project there are lot of config
pages.
ex : Setting server time
so in csv or flat file it will not be more then 3 records..
we have 10 config like this as of now later it will be around 20..
If I
Dhruva Sagar wrote:
> I think you missed to reset your database using rake db:reset after
> having
> changed the model name & the corresponding migrations.
>
> Thanks & Regards,
> Dhruva Sagar.
>
Try restarting the app first.
>
>
>
> On Tue, Nov 10, 2009 at 9:01 AM, Lady Hawk
> http://www.
I'm doing a Rails app. and at a point where I need to send out mails (
confirmation email, weekly newsletter etc.)
I'm confused (and overwhelmed) about the choices to make for mail servers in
our staging and production environments.
There is the danger of getting marked as SPAM or blacklisted. Th
I think you missed to reset your database using rake db:reset after having
changed the model name & the corresponding migrations.
Thanks & Regards,
Dhruva Sagar.
On Tue, Nov 10, 2009 at 9:01 AM, Lady Hawk wrote:
>
> I have a model called "Media", database table "Medias". I had to rename
> th
I have a model called "Media", database table "Medias". I had to rename
that model to "Medium" and the database table to "Mediums".
and now when I run my application , I get the following error:
ActiveRecord::StatementInvalid in MediumsController#index
SQLite3::SQLException: no such table: media:
pharrington wrote:
>
> You cannot use a truck to build a banana.
>
> And I feel dirty for bumping this thread :(
Ahhh, but you can take a banana to market with a truck... so to speak.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received
Chris To wrote:
> Hi,
>
> I've added a couple of validations to my model, however whenever I
> submit with no information (to purposely fail) in the view form, I just
> get a generic rails error message (the kind with all the stack trace
> information).
>
> I have a feeling it might be in my con
See in-line addition below:
Quoting Chris To :
[snip]
> Here's the code in my begin view:
>
> <% form_for :location, @location, :url => {:action => "end"} do |f| %>
<%= f.error_messages %>
> <%= f.label :city1 "enter 1st location" %>
>
> <%= f.text_field :city1 %>
>
> <%= f.label :city2,
On Nov 9, 9:08 pm, Chris To wrote:
> Hi,
>
> I've added a couple of validations to my model, however whenever I
> submit with no information (to purposely fail) in the view form, I just
> get a generic rails error message (the kind with all the stack trace
> information).
There's nothing gener
Hi,
I've added a couple of validations to my model, however whenever I
submit with no information (to purposely fail) in the view form, I just
get a generic rails error message (the kind with all the stack trace
information).
I have a feeling it might be in my controller, though I can't seem to
I've also had to do something like this recently and it worked fine
with the perishable token as well. As Leonardo mentioned it's pretty
secure as long as the validation is there.
On a completely unrelated note:
I posted last week on another topic regarding web services and getting
going trying t
Here's some example code from the Kete project (http://kete.net.nz):
http://github.com/kete/kete/blob/master/lib/tasks/tools.rake -
starting at line 61
Cheers,
Walter
On Tue, Nov 10, 2009 at 5:26 AM, Russell Fine
wrote:
>
> I've just added a new thumbnail definition to a class that has
> atta
I'll second Marnen's idea.
With a DB you'll get random access to any record. Using a CSV you'll
either have to read record by record until you find what you need or
dump everything to an array or hash and then get it from there. I
think it's actually more work going the CSV approach.
On Nov 9,
Leonardo: Thanks for the swift reply. I'm happy to hear this is
working for you!
Cheers,
Tim
On Nov 9, 4:25 pm, Leonardo Mateo wrote:
> On Mon, Nov 9, 2009 at 7:06 PM, Tim Lowrimore wrote:
>
> > Scenario: An application X, is a PHP app that's been running just
> > fine for quite some time.
On Mon, Nov 9, 2009 at 7:06 PM, Tim Lowrimore wrote:
>
> Scenario: An application X, is a PHP app that's been running just
> fine for quite some time. An application Y is a new Rails app.
> Specifically, a RESTful service. Y can only be accessed by a user
> once that user has successfully auth
Hey everyone,
My name is Kent Fenwick, I am developer over at Viewpointr based in
Toronto, Canada.
I really like Stack Overflow and was excited when they launched Stack
Exchange as I felt as though the Rails community could benefit from a
focused QnA site with the voting and community wiki featu
Scenario: An application X, is a PHP app that's been running just
fine for quite some time. An application Y is a new Rails app.
Specifically, a RESTful service. Y can only be accessed by a user
once that user has successfully authenticated against X. Y is
accessed immediately following authen
2009/11/9 Heinz Strunk :
>
> Colin Law wrote:
>> 2009/11/9 Heinz Strunk :
>>>
>>> No no no, you understood me wrong. It's just a form where you can add
>>> users to the object that is being created. It's a form, you click on add
>>> user you go to another page, add as many users as you want, go ba
On Nov 9, 1:50 pm, Ilan Berci
wrote:
> Gaspard Bucher wrote:
> > More often then not when talking about zena, I find people saying that
> > "we don't need no freakin' CMS, Rails *is* a CMS".
>
> > Gaspard
>
> Rails is to a CMS as a truck is to a banana.
> --
> Posted viahttp://www.ruby-forum.com/
Marnen Laibow-Koser wrote:
> In my opinion, integration tests are a bit clumsy. Cucumber features
> will be easier to work with, and will also address the issues you were
> asking about.
>
>>
>> Thanks in advance.
>>
>> M.
Looks nice, I'll check it deeper. Thanks.
My fiend found another si
ken wrote:
>
> Does anybody have any idea why 'render_without_active_scaffold' or any
> other rails function (like render partial) would take so long?
>
> Is it because my application is running on a VM?
>
> Thanks in advance!
When you installed active_scaffold, is used a method
Molule::alia
This isn't the appropriate venue for your blogspam.
-eric
On Nov 9, 12:21 pm, Gaspard Bucher
wrote:
> Leonardo Mateo wrote:
> > On Mon, Nov 9, 2009 at 3:38 PM, Gaspard Bucher
> > wrote:
>
> >> Hi list !
>
> >> More often then not when talking about zena, I find people saying that
> >> "we don'
Leonardo Mateo wrote:
> On Mon, Nov 9, 2009 at 3:38 PM, Gaspard Bucher
> wrote:
>>
>> Hi list !
>>
>> More often then not when talking about zena, I find people saying that
>> "we don't need no freakin' CMS, Rails *is* a CMS".
> Oh come on! Seriously?
In fact, the complete argument is that Rails
Hi Everyone,
I know this is a recurring topic, but currently my application is
running very slow and I would like to figure out why. Every
transaction, except for the login page, have an average response time
in the 8,000~ 14,000ms range (DB: 300ms range), which is absurd. I
have implemented ac
i did not get a screen asking for default character set
the instructions ive found to chang it (my.cnf , \C) do not seem to
take
using the \C command while logged into mysql seem to change some of
the character sets
but if i \q then restart my mysl -u root connection, when i run show
variables lik
7H3LaughingMan wrote:
> Thanks for the help, I was already in the process of converting it
> into it's own separate class and having it always loading
> automatically. But right now I am having some issues mostly with
> carrying numbers across (mostly downwards). The idea is to have
> methods wher
On Mon, Nov 9, 2009 at 3:38 PM, Gaspard Bucher
wrote:
>
> Hi list !
>
> More often then not when talking about zena, I find people saying that
> "we don't need no freakin' CMS, Rails *is* a CMS".
Oh come on! Seriously?
>
> I posted an article on zenadmin.org with some reflections around this
> i
Doug wrote:
> what does /2 or /5.5 represent to ruby?
>
> in a division caclulation: x / 5.5
>
> if you only put a space between x and the /, then
> the console hangs
> in irb it does this:
>
> irb(main):014:0> x = BigDecimal("10.00")
> => #
> irb(main):015:0> x * 5
> => #
> irb(main):016:0> x
dan wrote:
>
> Couldn't create database for {"reconnect"=>false, "encoding"=>"utf8",
> "username"=>"root", "adapter"=>"mysql", "database"=>"geokit_v1",
> "pool"=>5, "password"=>'***', "socket"=>"/tmp/mysql.sock"}, charset:
> utf8, collation: utf8_general_ci (if you set the charset manually,
> ma
Brian Harnett wrote:
> Michal Burak wrote:
>> I think you need AJAX here to populate the cascade "rest of the drop
>> downs" or refresh the whole page on change of the first drop down and
>> feed the collection_seelct in the controller with appropriate data.
>
> Damn,
> I was hoping I wouldn't
Typically for a form, with a "submit" button.
-eric
On Nov 9, 10:08 am, Brian Harnett
wrote:
> Michal Burak wrote:
> > I think you need AJAX here to populate the cascade "rest of the drop
> > downs" or refresh the whole page on change of the first drop down and
> > feed the collection_seelct in
Michal Burak wrote:
[...]
> The questions are in the comments for the test.
In my opinion, integration tests are a bit clumsy. Cucumber features
will be easier to work with, and will also address the issues you were
asking about.
>
> Thanks in advance.
>
> M.
Best,
--
Marnen Laibow-Koser
h
im new to mac and ruby but have been through some tutorials using
sqlite
ive downloaded a plugin for geolocation and it needs mysql for
advanced functionality
however whenever i try to run the rake commads with mysql adapter, i
get errors
i created the ruby app using the -d mysql command
my datab
Gaspard Bucher wrote:
> More often then not when talking about zena, I find people saying that
> "we don't need no freakin' CMS, Rails *is* a CMS".
>
>
> Gaspard
Rails is to a CMS as a truck is to a banana.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~-
what does /2 or /5.5 represent to ruby?
in a division caclulation: x / 5.5
if you only put a space between x and the /, then
the console hangs
in irb it does this:
irb(main):014:0> x = BigDecimal("10.00")
=> #
irb(main):015:0> x * 5
=> #
irb(main):016:0> x / 2
=> #
irb(main):017:0> x /2
irb(mai
Hi list !
More often then not when talking about zena, I find people saying that
"we don't need no freakin' CMS, Rails *is* a CMS".
I posted an article on zenadmin.org with some reflections around this
issue and why some people find it useful to build such tools for rails
(adva-cms, radiant, zen
Michal Burak wrote:
> I think you need AJAX here to populate the cascade "rest of the drop
> downs" or refresh the whole page on change of the first drop down and
> feed the collection_seelct in the controller with appropriate data.
Damn,
I was hoping I wouldn't have to do that. I know there i
I have several places in my app where there is a collection with hundreds of
items to render. Paging in the usual sense (i.e., mislav-will_pagination)
does not make sense. I want to render them all, but the long response time
(often greater than 7 seconds) is not user-friendly. It occurs to me
Colin Law wrote:
> 2009/11/9 Heinz Strunk :
>>
>> No no no, you understood me wrong. It's just a form where you can add
>> users to the object that is being created. It's a form, you click on add
>> user you go to another page, add as many users as you want, go back to
>> the main form.
>> I need
I'm trying to validate a User model using custom :message. I always get
I18n.locale default value. Is there a way to get I18n current_locale?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Thanks for the help, I was already in the process of converting it
into it's own separate class and having it always loading
automatically. But right now I am having some issues mostly with
carrying numbers across (mostly downwards). The idea is to have
methods where I can get and set the individu
Ok, I have the answer figured out for the quesion "how to specify ID":
assert_redirected_to '/my_models/edit_photos/' +
assigns(:my_model).id.to_s
But I still dont know how to avoid hardcoded paths.
I want to replace:
get '/foo/bar'
with something like:
get :controller => :foo, :action =>
I think you need AJAX here to populate the cascade "rest of the drop
downs" or refresh the whole page on change of the first drop down and
feed the collection_seelct in the controller with appropriate data.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~
2009/11/9 Heinz Strunk :
>
> No no no, you understood me wrong. It's just a form where you can add
> users to the object that is being created. It's a form, you click on add
> user you go to another page, add as many users as you want, go back to
> the main form.
> I need to know how many users ha
Hello all,
I am trying to find a way to set the flash for a view helper test. The
purpose of my view helper is to simplify rendering of flash messages,
and I'd like to be able to test it by passing a mocked flash object to
the helper method in my tests. I'm not quite sure how to do this,
perhaps
No no no, you understood me wrong. It's just a form where you can add
users to the object that is being created. It's a form, you click on add
user you go to another page, add as many users as you want, go back to
the main form.
I need to know how many users have been added, which ones and if t
Hi,
--- ROUTING ---
I have roting defined as RESTful but for the below testes MyModels
controller I have a standard
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
SAMPLE TEST --
class MyIntegrationTest < ActionController::IntegrationTest
fixt
Hello all,
I'm very new to Ruby and web programming at all. I'm trying to get a
page where I can have a series of drop downs that are all columns within
the main table of my database. When you drop one down, and select a
value, I want the others to update with their possible options based on
the
I've just added a new thumbnail definition to a class that has
attachments using attachment_fu. Since this thumbnail definition didn't
exist when I uploaded pior images, they don't have this thumbnail. I
have been trying to figure out how to either load the image attachment
and have it build the
On Nov 9, 7:46 am, Nike Mike wrote:
> Hi i am using nested resources in my application like this
>
> map.resources :forums do |forum|
> forum.resources :topics do |topic|
> topic.resources :posts
> end
> end
>
> while i am submitting a from with url like
> thishttp://localhost:
On 09 Nov 2009, at 16:35, Colin Law wrote:
>> Well, most of it is actullay not any data that's going to be saved in
>> the database. I need to know various numbers like "current number of
>> users", "maximum number of users", "ids of the users" and stuff like
>> that.
>>
>> So I guess I should go
Quoting Newb Newb :
>
> hi all..
> I m using cron for my application.
> already for my 1st task i use the schedule.rb
> again i want to use cron job again for my 2nd task.
> is it possible to use the same schedule.rb file?
> why i ask is whenever i modify any of my tasks settings it overwrites
>
Audrey,
I would suggest, a few things...
1. Updating webrat, selenium-client to the most recent versions and cucumber to
at least 0.4.2. Don't forget to run script/generate cucumber after you update
the cucumber gem.
2. Also you do not need the selenium gem as selenium server comes prepackag
2009/11/9 Heinz Strunk :
>
> Well, most of it is actullay not any data that's going to be saved in
> the database. I need to know various numbers like "current number of
> users", "maximum number of users", "ids of the users" and stuff like
> that.
>
> So I guess I should go for the session?
What
Well, most of it is actullay not any data that's going to be saved in
the database. I need to know various numbers like "current number of
users", "maximum number of users", "ids of the users" and stuff like
that.
So I guess I should go for the session?
--
Posted via http://www.ruby-forum.com
Antony Nambikkai wrote:
> Mr. Jones. Its a Requirement Just to store simple name and a
> Id.
> It will reduce my coding .
Then, if you're really set on ActiveScaffold, and if you really need CSV
output, use the database for storage as Matt suggested, and just write
to CSV on de
On Nov 8, 12:59 pm, 7H3LaughingMan wrote:
> Now then my only question now is where can I put the universal methods
> that are going to be used by Models and Views, and Controllers /
> Helpers if they need to be used by them. I read somewhere where you
> would put it but since then I have forgot
Does anyone know how to use composed_of to pull data from multiple
classes (tables)? I know how to use composed_of to aggregate columns
within the same table but am running in to trouble pulling from two
tables.
The example below works but I don't want to see standard.strand_id, I
want to see str
Mr. Jones. Its a Requirement Just to store simple name and a
Id.
It will reduce my coding .
Kindly provide you suggestion.
> --Antony
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subs
Thanks Matt, but in this case I'm actually using google chrome for my
browser (I get the same error with firefox FWIW).
> What this is is Frontpage drool. IE has a habit of trying to treat
> everything like a WebDAV server, which is why it's sending a PROPFIND
> request. There's a tutorial arou
On Nov 8, 3:12 pm, James Englert wrote:
> Hey All,
>
> I'm running into a situation where ruby script/server and ruby
> script/console are apparently not pulling gems from the same directory. Ex:
>
[snip]
> Firstly, am I correct to assume that I should not be seeing different
> behavior with e
On Nov 9, 1:03 am, Sijo k g wrote:
> Hi James Englert
>
> Have you configured gem in config/environment.rb using
> config.gem and also require 'nokogiri' where you use it?
Note that you shouldn't need the require - config.gem does that
automatically.
--Matt Jones
--~--~-~--~
On Nov 7, 8:35 pm, Joe wrote:
> I have a simple app -- essentially just restful_authentication at this
> point. I have the following in my routes.rb:
>
> map.resources :attendees
> map.resource :sessions
>
> # nice named routes
> map.signup '/signup', :controller => 'attendees', :ac
On Nov 9, 1:53 am, Antony Nambikkai
wrote:
> Hi Friends,
>
> I want to know what are ways or how to use the Active Scaffold without
> Database connection
>
> I mean Instead of Database I will have a CSV or Flat file.
>
> Thro Active Scaffold Plug-in how to read this file instead of
>
On Nov 9, 1:46 pm, Christian Fürst
wrote:
> so it still holds the default ruby by osx in RUBY EXECUTABLE path. How
> can i change this path?
> However when i select this "ruby 1.8.7" platform in netbeans project
> config for a RailsApp it says:
>
>
> i think im doin something horribly wrong.
Hi folks,
I Have a problem depending on RubyGems.
I have installed ruby 1.8.7 with macports.
which ruby
/opt/local/bin/ruby
ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
Now my rubygems says:
which gem
/usr/bin/gem
gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
Hi i am using nested resources in my application like this
map.resources :forums do |forum|
forum.resources :topics do |topic|
topic.resources :posts
end
end
while i am submitting a from with url like this
http://localhost:3000/forums/1/topics/new
i am facing the problem
"Onl
Marnen Laibow-Koser wrote:
> Chris To wrote:
>> Hi all,
>>
>> I'm having trouble getting images to show up on the browser. I added an
>> image to the public/images directory in Textmate, however all I get is
>> the image alt information when I refresh my browser.
> [...]
>>
>> In addition (oddl
Hi folks,
I'm trying to so some digest authentication in Rack via Metal. I've
found the:
http://rack.rubyforge.org/doc/Rack/Auth/Digest/MD5.html
Class, but I don't have a great idea of how this fits into metal. It
seems like I should be able to do something similar to:
class MyAuth < Rac
hi all,
thanks for you reply,
2009/11/9 Peter De Berdt
>
> On 09 Nov 2009, at 12:35, Joaquin Rivera Padron wrote:
>
> I have a method in a model that concatenates named_scopes at later points
> in the method if certain conditions given. The concatenations go ok when all
> that concatenation is d
swf_fu plugin? http://github.com/marcandre/swf_fu
"treat your Adobe Flash swf files like any other asset (images,
javascripts, etc...) and embed them using SWFObject 2.2"
dwh
Mehmet Davut wrote:
> Hi,
>
> I am trying to access public/swf folder like image_tag. But i couldn't
> connect any fol
Antony Prabhu wrote:
> Thanks for you all.
>
> The Issue solved by Installing the gem
>
> gem install postgres -pr
>
> also if you are using rails version > 2.0
>
> you need to add the following method in rails application
>
> goto \config\initializers
>
> in new_rails_defaults.rb
>
> a
On 09 Nov 2009, at 12:46, Frederick Cheung wrote:
>>> I want decrypt a password which is encrypted by MD5.
>>
>> MD5 is a hash algorithm, which means it's a one-way encryption. You
>> have no way of decrypting the hash to the original password. And
>> since
>> you are using a salt, even the rai
On Nov 9, 11:35 am, Joaquin Rivera Padron wrote:
> ActiveRecord.all is used in it
>
> see it in the gist:http://gist.github.com/229884
>
> I could of course write that in some other way, but the question would be:
> could AR.all be turned into a NamedScope and not an Array?
It could be interesti
On 09 Nov 2009, at 12:35, Joaquin Rivera Padron wrote:
> I have a method in a model that concatenates named_scopes at later
> points in the method if certain conditions given. The concatenations
> go ok when all that concatenation is done with named_scopes, but it
> blows when ActiveRecord.
Thanks for you all.
The Issue solved by Installing the gem
gem install postgres -pr
also if you are using rails version > 2.0
you need to add the following method in rails application
goto \config\initializers
in new_rails_defaults.rb
add the method
def PGconn.quote_ident(name)
%("
Hi,
I am trying to access public/swf folder like image_tag. But i couldn't
connect any folder in public folder, some methods goes to public/image
folder. How can i write a helper method like swf_tag to acces
public/swf folder.
Thanks
--
Mehmet Davut
davit~
www.mehmetdavut.com.tr
0532 224 93 65
On Nov 9, 10:54 am, Peter De Berdt wrote:
> On 09 Nov 2009, at 11:43, madhuri godade wrote:
>
> > I want decrypt a password which is encrypted by MD5.
>
> MD5 is a hash algorithm, which means it's a one-way encryption. You
> have no way of decrypting the hash to the original password. And sin
[code]
gs = if privates
self.privates # with named_scopes everything runs fine
else
self.all # here we won't get a NamedScope, instead it'll
be an Array
end
[/code]
Try:
[code]
gs = if privates
self.privates
else
self
hi there,
I have a method in a model that concatenates named_scopes at later points in
the method if certain conditions given. The concatenations go ok when all
that concatenation is done with named_scopes, but it blows when
ActiveRecord.all is used in it
see it in the gist: http://gist.github.com
Hi everyone
My app is sending mails with ActionMailer with smtp sending through
google.
When I set up the E-Mail I set the @from paramter
@from= "Administrator <#{APP_CONFIG['admin_email']}>"
But the emails are arriving only with "ad...@domain.com" and not
"Administrator " does google p
Priyanka Pathak wrote:
> Adam Meyer wrote:
>> Hi everyone,
>>
>> I want to go live with my application. But something is wrong with my
>> site when using www.domain.com or domain.com. It seems that it use
>> different instances of the app and create different sessions.
>>
>> How can I configure
Sijo k g wrote:
> Hi Chris
>> <%= image_tag("kanagawa.jpg") %>
>
>What happens if you try with
>
> <%= image_tag("/images/kanagawa.jpg") %>
That should not be necessary.
>
>
>
> Sijo
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via http://www.ruby-for
eugenio wrote:
> On Nov 8, 6:50�pm, Marnen Laibow-Koser s.net> wrote:
>> This would be a single DB connection, so it seems like a good candidate
>> for a transaction. �What's the problem with doing that?
> i think that multiple requests use multiple db connections, didn't
> they?
Of course. B
On 09 Nov 2009, at 11:43, madhuri godade wrote:
> I want decrypt a password which is encrypted by MD5.
MD5 is a hash algorithm, which means it's a one-way encryption. You
have no way of decrypting the hash to the original password. And since
you are using a salt, even the rainbow tables hack
Hello,
I want decrypt a password which is encrypted by MD5.
there are 4 functions which i am using :
# Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("--#{salt}--#{password}--")
end
# Encrypts the password with the user salt
def encrypt(p
On Nov 8, 6:50 pm, Marnen Laibow-Koser wrote:
> This would be a single DB connection, so it seems like a good candidate
> for a transaction. What's the problem with doing that?
i think that multiple requests use multiple db connections, didn't
they? This is obviously true having two database
97 matches
Mail list logo