def run_task
result = %x(rake #{params[:rake_task]})
end
If you don't want to hold the thread you can install the crontab gem
and install a new crontab with a ts:in or use background-fu and push
the job to the background...
--~--~-~--~~~---~--~~
You received
Brian Hogan wrote:
> Yeah there are a few plugins to do that. There's one called
> ar_fixtures that should work just fine. I don't know if it's
> supported any more but I know it still works fine.
>
> On Mon, Dec 1, 2008 at 8:14 PM, Arthur Chan
Thanks Brian, it seems to be what I want. :)
--
I tried running a Rails app through cPanel a long time ago and gave up
because I like to have finer control over everything. If money is not
too much of an issue, I think you would be better served by signing up
for a VPS from somewhere and then setting up your own virtual server
to run the app on
Can anyone help me ~~
On 12月2日, 下午12时04分, hei <[EMAIL PROTECTED]> wrote:
> I do things below:
>
> In lib/translater.rb
> class Translater
> require "rubygems"
> require "rmmseg"
> include "RMMSeg"
> ...
> def segment(text)
>RMMSeg::segment(text)
> end
> end
>
> in helper/xx/xxx.rb
> mo
Hi Guys,
i need to implement in place form editing in my application
and i am not using scaffold here will u plz help me to solve this
issue
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
Hi..
Good Morning
I enter the values are mahapalipuram , is equal to ID value is 2 but i
got value 1,and hide 2 values so i got Null,Null,www.mpm.com
I can't understand the error.So if any one help me.
Thanks
Balaji
ActiveRecord::StatementInvalid in WizardContro
Rails would need to be installed. Do you have an .htaccess file that
resides in your public_html directory? If so, that file is crucial for
getting your app up and running.
On Mon, Dec 1, 2008 at 7:46 PM, Nellboy <[EMAIL PROTECTED]> wrote:
>
> As far as I know (and that's not much in this case)
Glad to hear that it was cleared up.
On Dec 1, 10:57 pm, Vipin Vm <[EMAIL PROTECTED]> wrote:
> Hi guys...
>
> First of all Sorry ... :( . i had a plugin called gloc-1.1.0 in my
> vender/plugin. That was causing the problem.
>
> Thanks guys,
> Vipin
> --
> Posted viahttp://www.ruby-forum.com/.
--~
Hi guys...
First of all Sorry ... :( . i had a plugin called gloc-1.1.0 in my
vender/plugin. That was causing the problem.
Thanks guys,
Vipin
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Dusty,
That may very well be it. I thought it was a longer list, but maybe
I'm just remembering the two lists (new vs. existing) and somehow
lumping them together.
Thanks for the reference, though! :-)
-Danimal
On Mon, Dec 1, 2008 at 12:26 PM, dusty <[EMAIL PROTECTED]> wrote:
>
> Is this it?
>
Hi All,
My project was started in 1.2.6 then i upgraded to 2.0.2. Last week i
updated it into 2.2.2. Then i got this problem. Then i again moved it
back to 2.0.2 and it worked fine. These are the changes i have made in
my config files.
in env.rb :-
RAILS_GEM_VERSION = '2.2.2' unless defined?
never mind... I installed the plugin and in the process got the
previously tagged versions... once I removed them, it all worked fine
On Dec 1, 7:34 pm, lunaclaire <[EMAIL PROTECTED]> wrote:
> I just installed AASM and when I run 'ruby script/server' it fails
> with:
>
> => Booting Mongrel (use '
I do things below:
In lib/translater.rb
class Translater
require "rubygems"
require "rmmseg"
include "RMMSeg"
...
def segment(text)
RMMSeg::segment(text)
end
end
in helper/xx/xxx.rb
module xx
require "translater.rb"
def translate(text)
Translater.run(text)
end
end
when i use
I just installed AASM and when I run 'ruby script/server' it fails
with:
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** S
Yeah there are a few plugins to do that. There's one called
ar_fixtures that should work just fine. I don't know if it's
supported any more but I know it still works fine.
On Mon, Dec 1, 2008 at 8:14 PM, Arthur Chan
<[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
>
> Is there any way to export db data t
Hey there
I would like to know if I can call a rake task from inside my Rails App.
Something like
class MyModel < ActiveRecord::Base
after_save :run_task
def run_task
Rake.run("my:little:task")
end
end
This is the deal: I use thinking-sphinx and need to update a bunch of data
through M
Hi all.
Is there a "correct" way of writing a unit test for a mailer which
sends attachments?
I tried using the @expected variable as provided in
ActionMailer::TestCase, but it led to various problems.
Here's what I'm attempting...
def test_notification
@expected.from = ''
@e
Hi Guys,
Is there any way to export db data to fixtures files?
(like the reverse of "rake db:fixtures:load")
Thanks,
Arthur
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Is it possible to pass this FormBuilder object to a controller and then
back to a partial?
I have a form rendering a partial that i would like to update with a
call to my controller based on user selectable parameters, but when the
AJAX comes back, i get this error message because i cannot pass
Hi,
My name is Marvin Arnold. I am a junior at MIT in EECS. I am starting a
non-profit, uService, with the mission of getting more college students
volunteering.
Although uService is a non profit, it has a unique and scalable business
model, that promises much future success. We are looking for a
On Dec 1, 2008, at 7:52 PM, Maulin Pathare wrote:
>
> I figured it out, and it was dumb!
> I had commented out the test database settings from the database.yaml
> file. uncommenting them fixed the problem :)
>
the dumb ones hurt the most ;-)
-Rob
Rob Biedenharn http://agileconsultingl
All my charges belong to a company. On the new charge form, sometimes I
specify a company, sometimes I don't because I don't know the company
beforehand in all cases.
So, sometimes the @company object is nil.
I'm using this helper: new_company_charge_path(@company)
For a company object, it genera
As far as I know (and that's not much in this case), then Rails needs
to be installed by the hosting provider... and i'd say your chances of
making that happen are somewhere between nil and none... Maybe there's
some workaround to this, I know that phusion passenger allows
deployment to Apache web
I figured it out, and it was dumb!
I had commented out the test database settings from the database.yaml
file. uncommenting them fixed the problem :)
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscri
William, thanks for your help in resolving this issue.
It works great now. Thanks a lot.
Please, if you know any good book or online material
on Ruby/InstantRails 2.0.2, please post it in the Forum.
Thanks
Cypray
wfisk wrote:
> class Country
>
>
> def people_tribes
> peopl
Hey Rob,
That was a typo on my part. My code actually has l.errors.on(:name).
Heres the pastebin link to the code
http://pastebin.com/m7cae6ae3
Rob Biedenharn wrote:
> I think you mean to have:
>
> l.errors.on(:name)
> Note: 'errors', not 'error'
>
> -Rob
>
> On Dec 1, 2008, at 7:05 PM, Maul
I think you mean to have:
l.errors.on(:name)
Note: 'errors', not 'error'
-Rob
On Dec 1, 2008, at 7:05 PM, Maulin Pathare wrote:
>
> Rob Biedenharn wrote:
>> On Dec 1, 2008, at 2:14 PM, Maulin Pathare wrote:
>>>
>>>
>>> When I run rake test:units from the shell I get the following error
Thanks David - great article - most illuminating...
Dave
On Dec 1, 5:38 am, "David A. Black" <[EMAIL PROTECTED]> wrote:
> Hi --
>
> On Sun, 30 Nov 2008, Nellboy wrote:
>
> > Agreed, nice post there... The only thing i'd add to that, is that as
> > a Rails beginner-becoming-intermediate, I actual
Rob Biedenharn wrote:
> On Dec 1, 2008, at 2:14 PM, Maulin Pathare wrote:
>>
>>
>> When I run rake test:units from the shell I get the following error
>>
>> rake aborted!
>> You have a nil object when you didn't expect it!
>> You might have expected an instance of ActiveRecord::Base.
>> The error
Frederick Cheung wrote:
> On Dec 1, 8:02�pm, Joe Blow <[EMAIL PROTECTED]> wrote:
>>
>> scope of the my_cool_block block? And even better yet, how could I get
>> the some_helper_method only to work when it is nested inside a
>> my_cool_block block?
>
> Well you could probably do it by messing arou
On Dec 1, 12:08 am, Jeff <[EMAIL PROTECTED]> wrote:
> On Nov 30, 11:26 pm, Jeff <[EMAIL PROTECTED]> wrote:
>
> > Just upgraded from 8.04 to 8.10, which bumped my Ruby version to
> > 1.8.7, and my Rails app (frozen to 2.2.2) gets a strange error on
> > startup. I can easily reproduce just by runni
Dear all,
Has anyone run RoR on cPanel based shared hosting? I've got my RoR
application on http://mydomain:10024/
Now I've uploaded all my Product model, view and controller.
Then I tried hitting: http://mydomain:10024/products but it didn't work
Is there any configuration I need to do on a s
Ohhh... I am so sorry... just found out myself!
It was set manually by me in application.rb ;-)
one should remember, what has been coded :-D
thanks anyway
Rafael
On 2 Dez., 00:01, Rafael <[EMAIL PROTECTED]> wrote:
> Hi
>
> On my Linux Production Box, a Background Process results in following
>
Hi
On my Linux Production Box, a Background Process results in following
error:
(rdb:5) call_rake(:send_mailing, {:mailing_id => params
[:id].to_i, :rails_env => Rails.env})
sh: /opt/local/bin/rake: No such file or directory
The strange thing is, that actually the path is set correctly.
-bash-
STDOUT.write(line) fixed the problemthanks again for the help!
Frederick Cheung wrote:
> On 1 Dec 2008, at 11:44, John Victor wrote:
>
>> @my_data = `/usr/bin/my_data.rb` #this causes data to be skewed
>> [EMAIL PROTECTED] = File.open("/usr/bin/my_data.dat").read #this works
>> end
>
the content type is text/html.
Where and how should I specify encoding?
Is it this:
mail = TMail::Mail.new
mail.transfer_encoding = "something"
What should "something" be?
this email is plain, vanilla, simple, nothing fancy, no special
characters, etc.
I just want something plain, simple etc t
Sweetness--thanks!
-Roy
-Original Message-
From: rubyonrails-talk@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Frederick Cheung
Sent: Thursday, November 27, 2008 4:59 AM
To: Ruby on Rails: Talk
Subject: [Rails] Re: error w/dynamic fixtures
On Nov 26, 10:49 pm, "Pardee, Ro
Ah, that scratched an itch for me--thanks for posting that.
Cheers,
-Roy
-Original Message-
From: rubyonrails-talk@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
David A. Black
Sent: Sunday, November 30, 2008 12:39 PM
To: Ruby on Rails: Talk
Subject: [Rails] Re: The verdict on
On Dec 1, 10:30 pm, minka <[EMAIL PROTECTED]> wrote:
> I tried TMail parse and I tried manually changing unicode to 7bit
> ascii,
> nothing worked. so finally I did it brute force. In my controller
>
The email was encoded with quoted-printable. In that encoding = is a
special character so is esc
I tried TMail parse and I tried manually changing unicode to 7bit
ascii,
nothing worked. so finally I did it brute force. In my controller
@order = Order.find(params[:id])
email = TMail::Mail.new
email = OrderMailer.create_price(@order)
# BRUTE FORCE, nothing else worked!
# co
On Dec 1, 9:46 pm, Scott Peterson <[EMAIL PROTECTED]>
wrote:
> I'm trying to get InstantRails running on a different computer than I
> originally started and I've gotten stuck. I kind of think it's a
> versioning issue, but don't have a real good "reason why" I think that.
>
> Here's the deal.
> def my_cool_block(&block)
> content = capture(&block)
> concat(content, block.binding)
> end
>
FYI, block.binding is no longer required in Rails 2.2.2, and should
raise a warning in the log.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
Hmm, I've noticed this problem only occurs if I type "localhost:3000" in
the browser (without the http protocol).
So, no worries, although it is curious, I know how to properly access
stuff now and have a better idea what to search on.
--
Posted via http://www.ruby-forum.com/.
--~--~-
I'm trying to get InstantRails running on a different computer than I
originally started and I've gotten stuck. I kind of think it's a
versioning issue, but don't have a real good "reason why" I think that.
Here's the deal. I'd started fooling around with Rails a while back on
my laptop and got
On Dec 1, 2008, at 2:14 PM, Maulin Pathare wrote:
> Hello,
> I am a rails beginner and am having some trouble running the unit
> tests
> using rake. i am following the example in the simply rails 2 book.
>
> I have a simple model with one field "name" and a validation for name
> that it cannot b
AtsoK wrote:
> I just style a #notice div with CSS, and then in my application layout
> file, right above yield, I have:
>
> <%= "#{flash[:notice]}" if flash[:notice] %>
>
> And then to make it fade out after 5 seconds:
>
> <% if flash[:notice] %>
>
> new Effect.Fade('notice', { delay
On Dec 1, 8:09 pm, Stedwick <[EMAIL PROTECTED]> wrote:
> Short story:
>
> My company has a rails application as our product. As we add more
> functionality, we are thinking of building new small, self-contained
> rails applications rather than just chugging along with our single
> monolithic app
On Dec 1, 8:02 pm, Joe Blow <[EMAIL PROTECTED]> wrote:
> hello all, I was hoping someone could describe to me how this works.
>
> Say I have some block of code like this
>
> <% my_cool_block do %>
> <% my_var = 5 %>
> <%= some_helper_method "My var" %>
> <% end %>
>
> And in my helper
>
>
Short story:
My company has a rails application as our product. As we add more
functionality, we are thinking of building new small, self-contained
rails applications rather than just chugging along with our single
monolithic application that we have right now.
What is the best way to do this? I
On Dec 1, 7:27 pm, Wayne M <[EMAIL PROTECTED]> wrote:
>
> But that seems rather unweildy. This is a critical business
> requirement since we want to create different stores with their own
> unique look and feel, but the actual data displayed comes from one
> master database and needs to be filt
hello all, I was hoping someone could describe to me how this works.
Say I have some block of code like this
<% my_cool_block do %>
<% my_var = 5 %>
<%= some_helper_method "My var" %>
<% end %>
And in my helper
def my_cool_block(&block)
content = capture(&block)
concat(content, block
class Country
def people_tribes
peoples.map{|p|p.tribe}.join(',')
end
end
On Dec 1, 8:51 pm, wfisk <[EMAIL PROTECTED]> wrote:
> I am sure there's a few ways of doing this. Here's an easy one:
> declare a method in the Country class and use that.
>
> class Country
>
>
>
I am sure there's a few ways of doing this. Here's an easy one:
declare a method in the Country class and use that.
class Country
def people_tribes
peoples.map{|p|p.tribes}.join(',')
end
end
now in your view use country.people_tribes
William
Jay Mark wrote:
> I am new to Rub
My company is looking at redoing our legacy Classic ASP storefront,
and I'm thinking about doing it in Rails since the alternative is to
use a PHP-based solution called Magento that, while it looks nice, is
insanely abstract to the point of making me go blind (it uses a
database design principle c
Is this it?
http://didcoe.id.au/archives/finite-state-machines-in-rails
On Oct 27, 7:55 pm, Danimal <[EMAIL PROTECTED]> wrote:
> Thank you, Robert! I'll have to try out foxmarks. I suspect that the
> problem was PEBKAC... i.e. I probably thought "that's a cool page, I
> should bookmark it" and f
Hello,
I am a rails beginner and am having some trouble running the unit tests
using rake. i am following the example in the simply rails 2 book.
I have a simple model with one field "name" and a validation for name
that it cannot be empty
my test file looks like this
1. require 'test_helpe
I am new to Ruby/InstantRails. I am using InstantRails 2.0.2 with mysql
database
My application is named Area, it has two tables: people and country
Table people has two columns: name and tribe
Table country has two columns: location and population
In the models I have:
class People < ActiveReco
Upon further inspection, I see that AR doesn't depend on DBI. I wonder
why not...
As it turns out, I'm in a JRuby environment, so I can just do prepared
statements via that method.
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
Yo
Okay cool. Is there a better way to call gsub_file protected method
then by copying it into the generator? It's in
Rails::Generator::Commands::Base.
On Dec 1, 12:35 pm, "Brandon Keepers" <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 10:52 AM, Tim K. <[EMAIL PROTECTED]> wrote:
> > My questio
I think this is more of a windows question than rails per se, but I
can't see the answer.
I've just installed InstantRails 2.0 on my XP machine. Both Apache and
mySQL start up fine. I spark up the 'cookbook' app, and notice that
Mongrel starts it on port 3001, but other than that, pretty much t
I have a standalone batch program that is going to move data between two
databases.
I am taking advantage of the AR connection semantics in database.yml to
get connections to these two DBs. But I want to do all of my DB access
at the DBI/DBD level for performance reasons.
I am having trouble ge
On Mon, Dec 1, 2008 at 10:52 AM, Tim K. <[EMAIL PROTECTED]> wrote:
> My question is this... Is there an better way to be doing this? It
> seems like a lot of insanity just to add a root route.
You would think so, but there doesn't seem to be. `script/generate
resource` also adds routes, but look
It just seems like there are too many conditions being tossed at the
validation method from wherever you are setting up those variables.
On Dec 1, 3:56 am, Vipin Vm <[EMAIL PROTECTED]> wrote:
> Hi Rick
>
> when i commented the following line, it worked fine.
>
> validates_presence_of :user_name,
On Mon, Dec 1, 2008 at 11:07 AM, Gearóid O'Ceallaigh
<[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I'm creating an app which has two models - bands and users. A
> relationship between users and bands in many to many.
>
> However, when I'm adding an existing to user to a band (ie. updating
> the bands_us
Hi,
My app has a model defined like this:
MyModel < ActiveRecord::Base
set_table_name "SOME_LEGACY_VIEW"
set_primary_key "LEGACY_ID"
end
The Database is DB2.
The view definition looks like this
SELECT
LEGACY_ID, NAME
FROM LEGACY_TABLE
When I create a new model and try to save it b
Frederick Cheung wrote:
> On 1 Dec 2008, at 16:58, Dave Smith wrote:
>
>> recipient, subject, message to the emailer model.
>>
>> However I created a mailings scaffold which holds each of the email
>> addresses, and names for the people on the mailinglist (with a one to
>> many relationship).
>>
On 1 Dec 2008, at 16:58, Dave Smith wrote:
>
> Hi Fred,
>
> At present the recipient is a single email address coming from the
> emailer page (just to test the mailer works).
>
> I have moved the sendmail form into the mailinglists index view page
> (and also moved the sendmail function from the
Hi Fred,
At present the recipient is a single email address coming from the
emailer page (just to test the mailer works).
I have moved the sendmail form into the mailinglists index view page
(and also moved the sendmail function from the emailer controller to the
mailinglist controller) and i
You can use the scopt attribute of validates_uniqueness_of
But this would require, that the intermediate table between
users/bands has it's own model
in this model (BandsUsers)
validates_uniqueness_of :user_id, :scope => band_id
--~--~-~--~~~---~--~~
You received
Bryan Helmkamp wrote:
> Webrat only supports clicking on links and buttons when running as a
> browser simulator (without Selenium). Without JavaScript, there's no
> way to know what clicking anything else would do, so there's not a
> reason to support it.
I agree
>
> Also, there's now a dedicat
Hey,
I'm creating an app which has two models - bands and users. A
relationship between users and bands in many to many.
However, when I'm adding an existing to user to a band (ie. updating
the bands_users table) how can i check if the relationship between the
user and the band already exists? F
On 1 Dec 2008, at 15:51, Margareth Florián wrote:
> Thanks for your answer Fred..
>
> I am in development environment, I have config.cache_classes = false
> (in my development.rb file)
> In the environment.rb file i have require
> File.join(File.dirname(__FILE__), 'boot').
>
> I try by ins
I'm looking for a better approach... then what I'm currently doing.
I'm working on a generator that will help me setup my base projects
with many of my common defaults that I use internally. Now I know that
generators have the route_resources method that allows a person to
create a resource in th
Thanks for your answer Fred..
I am in development environment, I have config.cache_classes =* false* (in
my development.rb file)
In the environment.rb file i have require File.join(File.dirname(*__FILE__*
), 'boot').
I try by instancing load_once_path: Dependencies.load_once_path?(RAILS_ROOT)
in
On 1 Dec 2008, at 10:54, Dave Smith wrote:
>
>
> As a noob to rails I am struggling with being able to send a mail
> template (html) stored in my database to all the users on a mailing
> list. I can use the emailer page to send the mail template to a single
> email address, but I want to be able
> I'd write the above query like this:
> u = User.find_by_username ...
> u.friendships.find :all, :joins => :friends, :order =>
> 'last_activity_at desc'
Cheers Fred, this is the trick I was looking for.
Petr
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~--
On 1 Dec 2008, at 13:15, balaji rajagopal wrote:
> Hi
>
> I used <%= debug(params)%> in the view to display the
>
> !map:HashWithIndifferentAccess
> controller: wizard
> action: stage1
>
> I can't understand the error.Please anyone rectify the error.
>
Just look in development.log. It shows y
Hi
I used <%= debug(params)%> in the view to display the
!map:HashWithIndifferentAccess
controller: wizard
action: stage1
I can't understand the error.Please anyone rectify the error.
Thanks ®ards
Balaji
On 12/1/08, Frederick Cheung <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On Dec 1, 10:35 am
Damn, you right..
On 1 дек, 15:10, Frederick Cheung <[EMAIL PROTECTED]> wrote:
> On 1 Dec 2008, at 11:50, cheef wrote:
>
>
>
> > Hi, i am searching an bizon (or rbizon) specification for ruby. Will
> > be very glad for any help =)
>
> You might try asking on the ruby list rather than here as it i
Hello there,
I am having some strange problems with my project's gem dependencies
on my staging server and really don't know where this is coming from.
My config.gem entries in the environment.rb file are the following:
--- snip ---
config.gem "geonames"
config.gem "yelp"
config.gem 'oau
Hi Everyone,
i have the following Problem. For one of my controllers im using
a .js.rjs template for the create action. This works fine in
development and production mode. However, when i try to run a
functional test for this action, i get the following error:
ActionView::MissingTemplate: Missin
On 1 Dec 2008, at 11:44, John Victor wrote:
>
> ---
> my_data.rb code:
> data.each do |line|
> a.write(line) #--this writes to my_data.dat
> puts line #--this puts the same data to STDOUT
> end
> ---
> controller code:
> def index
> @my_data = `/usr/bin/my_data.rb` #this causes data
On 1 Dec 2008, at 11:50, cheef wrote:
>
> Hi, i am searching an bizon (or rbizon) specification for ruby. Will
> be very glad for any help =)
You might try asking on the ruby list rather than here as it isn't
really a rails question.
Fred
--~--~-~--~~~---~--~
Hi, i am searching an bizon (or rbizon) specification for ruby. Will
be very glad for any help =)
--~--~-~--~~~---~--~~
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 rubyo
Hassan Schroeder wrote:
> They don't line up in this email, either :-)
...heheI know, I'm sorry that wasn't much of a help :-)
> Are you trying to display this in PRE tags or equivalent CSS with a
> monospace font?
..good call on this one though, I added PRE tags on my index.rhtml and
the
On Dec 1, 9:47 am, Petr Bobek <[EMAIL PROTECTED]>
wrote:
> > That sort would have ordered the users (from the 'main' find) by
> > descending last_activity_at, not the associations (which are loaded
> > with a separate find)
>
> > Fred
>
> Ohh I see, I was trying to sort friendships table, but th
On Dec 1, 10:35 am, "balaji rajagopal" <[EMAIL PROTECTED]>
wrote:
> Hi
> My Resortclass application is
> Field =>id: resortclass
> Value=>1:a
> 2:b in store in resortclasses table
>
> My Resortbasic application is
> Field =>id: resortclassid
> Value=
I have found many advices howto downgrade Ruby 1.8.7 to 1.8.6 as
recommended by Rails core team.
You can found the article
http://railsgeek.com/2008/11/27/ubuntu-8-10-downgrade-ruby-1-8-7-to-1-8-6
ChandleWEi wrote:
> downgrade ruby from 1.8.7 to 1.8.6
>
> http://snapshot.debian.net/archive/200
As a noob to rails I am struggling with being able to send a mail
template (html) stored in my database to all the users on a mailing
list. I can use the emailer page to send the mail template to a single
email address, but I want to be able to put a button on the mailinglists
show page that send
Hi
My Resortclass application is
Field =>id: resortclass
Value=>1:a
2:bin store in resortclasses table
My Resortbasic application is
Field =>id: resortclassid
Value=>1:1
2:1 in store in resortbasics table
I select 2nd value is
On Mon, Dec 1, 2008 at 1:56 AM, Vipin Vm
<[EMAIL PROTECTED]>wrote:
>
> Hi Rick
>
> when i commented the following line, it worked fine.
>
> validates_presence_of :user_name, :password, :email, :display_name
>
> then what could be wrong?
>
> Vipin
>
>
Hey Vipin, are you using the same application c
Robert Walker wrote:
> Pål Bergström wrote:
> Yes. Git's entire repository in inside the .git directory. If you want
> to be safe about it just clone your repository and remove the .git
> directory from the clone. That way if you decide you really wanted tat
> history you'll have it in the ori
On 1 Dec 2008, at 09:18, bala <[EMAIL PROTECTED]> wrote:
>
Check your logs to see what params are being submitted. Those combo
boxes will be in there, just not where you expect them
Fred
>
> Hi.
> I am new in ruby on rails..
>
> Im using Two tables. one is Resortclass and anothe
Hi Rick
when i commented the following line, it worked fine.
validates_presence_of :user_name, :password, :email, :display_name
then what could be wrong?
Vipin
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because
> That sort would have ordered the users (from the 'main' find) by
> descending last_activity_at, not the associations (which are loaded
> with a separate find)
>
> Fred
Ohh I see, I was trying to sort friendships table, but there is no
column last_activity_at. I guess that's it. :( or is there
Hi.
I am new in ruby on rails..
Im using Two tables. one is Resortclass and another is Resortbasic.
Resortclass table using masterpage.View
Resort Classes
<%= paginating_links(@resort_classes) %>
Hi people I have tried to install the acts_as_versioned gem from
github in rails 2.2.2 but it seems to conflict with some methods in
the activerecords dirty.rb-file. I can solve some of the problem by
changing code in the activerecord, but I don't think that was the
intention.
--~--~-~--~
On 1 Dec 2008, at 08:48, Petr Bobek wrote:
>
> Hi,
>
> I have user table (last_activity, last_activity_at, ) and
> friendships table (many to many).
> What I am trying to do is to show to the user the last actions of
> his/her friends.
>
> [EMAIL PROTECTED] = User.find_by_username(username,
Hi,
My memcached has been working perfectly.
But all of a sudden I am not able to restart it anymore
(RAILS_ENV=production rake memcached:start),
getting this error message:
failed to set rlimit for open files. Try running as root or requesting
smaller maxconns value.
This has never happene
Hi,
I have user table (last_activity, last_activity_at, ) and
friendships table (many to many).
What I am trying to do is to show to the user the last actions of
his/her friends.
[EMAIL PROTECTED] = User.find_by_username(username, :order =>
'last_activity_at DESC', :include => [:friendships
1 - 100 of 104 matches
Mail list logo