Hi all,
I completely removed MySQL 5.1, reconfigured the 5.0 instance and the
copied the libmysql.dll to ruby/bin and everything is working!
Schalk
Volume4 wrote:
Hi there everyone,
I have had a stable dev environment for some time now, well until my
laptop was stolen :( I am in the
+1 from me. Is this the defacto Twitter gem for Rails by the way?
On Tue, Aug 25, 2009 at 8:03 AM, dmpeters63 dmpeter...@gmail.com wrote:
Hi,
I did sudo gem install twitter and I installed twitter-0.6.15 but my
app wont run with 0.6.15.
I need twitter-0.6.11 to run my app.
Does anyone
Hey Fernando,
You should find this useful:
http://giantrobots.thoughtbot.com/2009/4/15/rails-2-3-2-upgrade-gotchas
Schalk
Fernando Perez wrote:
rename application.rb to application_controller.eb, and next time read
the changelog.
--~--~-~--~~~---~--~~
You
Hi Charanya,
Are you freezing your apps before deploying them? Adding the appropriate
version in your environment.rb is good but, you also need to freeze your
apps so it deploys with it's version of Rails.
Very simple to do, just use the Rake command and add the version you
want to freeze to.
Hi Charanya,
Or try using unobtrusive JavaScript by giving the field a unique id and
then hooking up the action to that id. With jQuery it is very simple.
To get the field just use:
$('#uniqueid')
and then you can chain any function to the element.
HTH,
Schalk
Charanya Nagarajan wrote:
Hi there,
I have article display set-up on my side as follows:
map.article 'article/show/:permalink', :controller = 'article', :action
= 'show'
So you might be looking for something like this:
map.posts '/posts/:user_id', :controller = 'posts', :action = 'show'
HTH,
Schalk
Skaurus wrote:
Hi there,
I am trying to get OpenID authentication working and for the most part
seems to have gone fine except, when authentication I keep getting:
undefined method `relative_url_root' for ActionController::Base:Class
I am testing from my local machine on Windows Vista using Mongrel. Any
Hi there,
Setting that has always worked for me without fail is:
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address = mail.yourdomain.com,
:port = 25,
:domain = yourdomain.com
}
Hi there Morgan,
Something such as the following should do the trick:
Article.count(:conditions = status = 'active')
HTH,
Schalk
Morgan Morgan wrote:
so i have a database filled with stats and i need to return a number
from those stats for processing. how would i go about counting how many
If anyone experiences the problem I described below, please see the
ticket here:
https://rails.lighthouseapp.com/projects/8995/tickets/34-issues-with-forgery-protection-and-rails-21-relative_url_root
And apply the patch here:
this:
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address = localhost,
:port = 25
}
On Apr 5, 6:00 pm, Schalk Neethling volume4.sch...@gmail.com wrote:
Hi there,
Setting that has always worked for me without
-- Did not make it to the list the first time it seems.
Hi there everyone,
I was wondering, is there anyone on this list that would be interested
in working on an open source project to create a solution for generating
website thumbnails in Rails?
If there is any interested parties please let
Hi there everyone,
I was wondering, is there anyone on this list that would be interested
in working on an open source project to create a solution for generating
website thumbnails in Rails?
If there is any interested parties please let me know,
Schalk
Hi everyone,
Does anyone know of a solution that will work with Rails that can
capture remote screen shots of website a.k.a Magnolia, DZone etc?
Thanks,
Schalk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
,
Schalk
Phlip wrote:
Schalk Neethling wrote:
Hi everyone,
Does anyone know of a solution that will work with Rails that can
capture remote screen shots of website a.k.a Magnolia, DZone etc?
I would use Curl, Wget, Rio, or Net::HTTP to pull in the page (and its
dependencies), then I
Hi Philip,
I am guessing it must be the mozilla engine. I saw another one that uses
webkit but it seems that the server needs to run the Mac OS.
Regards,
Schalk
Phlip wrote:
Schalk Neethling wrote:
Hi there Philip,
Thanks for the info. These looks promising:
http://ruby-gnome2
Hi there Kedar,
Try script/about or, alternatively you can do a gem list. If you have
only one version of rails installed gem list will indicate this.
HTH,
Schalk
Kedar Mhaswade wrote:
Frederick Cheung wrote:
On 19 Jan 2009, at 00:24, Kedar Mhaswade wrote:
In what way does it fail ?
That
Hey everyone,
I have a controller called CMSController and then a helper called
cms_helper.rb. When trying to access my application I get the following:
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:249:in
`load_missing_constant'
Expected
Hi there,
Yip, that is exactly what it contains. Should every controller have an
associated model?
Thanks,
Schalk
Jej wrote:
Hi,
Your empty cms_helper.rb helper should contains
module CmsHelper
end
Is it the case?
Jej
--~--~-~--~~~---~--~~
Hi there Phlip,
Changing to Cms as apposed to CMS did the trick, thanks!
Regards,
Schalk
Phlip wrote:
Schalk Neethling wrote:
Expected C:/DEVELOPMENT/satechevents/app/helpers/cms_helper.rb to define
CmsHelper
In general, whenever that happens, spot-check the file with
ruby app
Hey Matthew,
Sorry I cannot provide you with an answer but, I basically decided to go
back to 2.0.2 as there seems to be a few shortcomings with 2.1.2 and 2.2.2.
Regards,
Schalk
Matthew Phillips wrote:
I'm having similar problems. I also get the NULL pointer given error
when I try to go
Hey All,
Executing: gem install mysql --no-ri --no-rdoc tells me that it
installed one gem without any errors. However looking at the folder
inside InstantRails, something seems missing. There is no lib for example.
Also, a simple line like this:
@content =
No output, no error, no installation. Is there something one needs to do
after installing the git plugin?
Thanks,
Schalk
Schalk Neethling wrote:
hehehehe, no I don't.
Frederick Cheung wrote:
There's an obvious question: do you have git installed ? What happens
if you just run
git
from
Ok, I see. I have to install Git itself as well as the rails plugin
alone will not do the trick. Doing that now.
Schalk Neethling wrote:
Ok, I now installed git using:
gem install git-rails
Successfully installed fattr-1.0.3
Successfully installed arrayfields-4.6.0
Successfully
to plugin to see if
you can get more information on what's happening.
Rick
On Nov 23, 2:56 am, Schalk Neethling [EMAIL PROTECTED] wrote:
Hey all,
Ok it seems that I got my one app upgraded to 2.1.2 successfully. Yeah!
Now, when I try to install the Rakismet plugin I get the following
Hey all,
Are you supposed to get some type of feedback when running the rake
rails:update task from a rails shell?
And on that subject, I installed Rails 2.2.2 and then ran the the above
command, got no feedback and nothing changed. Now when I create a new
project I find some new files:
Hey all,
I just upgraded a very simple rails based website from Rails 2.0.2 to
2.2.2. When I started up Mongrel however, I got the following error:
** Starting Rails with development environment...
ExitingC:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in
not fix it or, am I misunderstanding what exactly the command does?
Thanks,
Schalk
Schalk Neethling wrote:
Hey all,
I just upgraded a very simple rails based website from Rails 2.0.2 to
2.2.2. When I started up Mongrel however, I got the following error:
** Starting Rails with development
Hey all,
I believe I have upgraded my Rails version from 2.0.2 to 2.2.2 ;)
However, I am experiencing some problems with an app that was built on
2.0.2. Can anyone suggest a resource where I can learn more about how to
properly upgrade from 2.0.2 to 2.2.2
I have read some of the what has
Thanks James. Will join up there.
James Mitchell wrote:
You will probably get a quicker answer if you ask on the Aptana
RadRails mailing list.
--
James Mitchell
On Fri, Nov 21, 2008 at 4:31 PM, Schalk Neethling
[EMAIL PROTECTED] wrote:
Hey all,
Rephrasing my previous question
Hi all, thanks for the info. One thing though, from where in the
InstantRials directory structure should I run these commands? Does it
make a difference or can I simply run it from the root directory of IR?
Thanks again,
Schalk
Norm wrote:
Jose vicente Ribera pellicer wrote:
Schalk
Hey all,
Rephrasing my previous question a little. How do I update the current
Rails version when using Aptana RadRails as the IDE?
Thanks,
Schalk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
Hey all,
How do I upgrade the version of rails running inside InstantRails?
Thanks,
Schalk
--~--~-~--~~~---~--~~
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
Ah, thanks Frederick. I am on Rails 2.0.2, probably time to upgrade ;)
Frederick Cheung wrote:
On Nov 18, 4:12 pm, Schalk Neethling [EMAIL PROTECTED] wrote:
Hi all,
I am trying to get Akismet installed on a RoR app. When trying to
install Rakismet using:
script/plugin install git
Hi all,
I am trying to get Akismet installed on a RoR app. When trying to
install Rakismet using:
script/plugin install git://github.com/jfrench/rakismet
I always get, plugin not found.
Does anyone know where I can get this from or an alternate plugin?
Thanks,
Schalk
Hi there Fernando,
Have a look here:
http://css.dzone.com/news/rest-with-rails-part-1
http://css.dzone.com/news/rest-with-rails-part-2-serving
http://css.dzone.com/news/rest-with-rails-part-iii-using
Regards,
Schalk
Fernando Perez wrote:
The best resource to learn REST in Rails is from a
Hi there everyone,
Does anyone know if there is a different location for the Rakismet plugin?
When I run:
script/plugin install git://github.com/jfrench/rakismet
I get a message stating that the plugin could not be found.
Thanks,
Schalk
--~--~-~--~~~---~--~~
, :conditions = [country=? OR
country='International', LOCALE])
Jan
On 21 okt, 12:50, Schalk Neethling [EMAIL PROTECTED] wrote:
Hi there everyone,
How does one set-up a SQL OR query in Rails.
I have the following SQL query:
select state, state_abbr, country from states where country
Thanks Frederick.
Frederick Cheung wrote:
On 15 Oct 2008, at 12:56, Schalk Neethling wrote:
Hi all,
When using form_for it is easy to add an id to the form using :html
=
{:id = 'someid'}
However, how would one accomplish the same when using the form_tag ?
pretty much the same
Hi all,
When using form_for it is easy to add an id to the form using :html =
{:id = 'someid'}
However, how would one accomplish the same when using the form_tag ?
Thank you in advance,
Schalk
--~--~-~--~~~---~--~~
You received this message because you are
I have implemented Recaptcha on the registration page of this site:
http://www.satechevents.co.za/account/register
I am using the gem here:
http://www.loonsoft.com/recaptcha/
Schalk
Neil Cauldwell wrote:
Neil Cauldwell wrote:
Does anyone have any suggestions for a best practice
Hi there everyone,
On my production server I start the mongrel server as follows:
mongrel_rails start -e production -a 127.0.0.1 -p 3001 -d
However when going to the domain I get the following error:
#42000Unknown database 'satechevents_development'
Why is rails looking for the development
Thanks Fred,
I will look into this. How can I ensure that all instances of mongrel is
stopped?
Schalk
Frederick Cheung wrote:
On 2 Oct 2008, at 15:43, Schalk Neethling wrote:
Hi there everyone,
On my production server I start the mongrel server as follows:
mongrel_rails start -e
43 matches
Mail list logo