In my application.rb, I have this:
#require "rails/all"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "active_model/railtie"
(I didn't want ActiveRecord) This worked fine up to 3.0.6, but now fails
with:
/Users/jeffdeville/Document
On Sun, May 1, 2011 at 5:15 PM, Phoenix Rising wrote:
> +1 for meta_search, I <3 that thing
>
You know I almost cried the first time I used meta_search in the past I
have written my own searches
>
> On May 1, 2:45 pm, Mauro wrote:
> > On 1 May 2011 21:12, Carina Brito wrote:
> >
> > > Sorr
On May 1, 11:10 pm, Tom DeHart wrote:
> Frederick Cheung wrote in post #996132:
> Also, I understand that submitting the entire form is a poor solution to
> the problem but this is literally the first time I've ever submitted a
> remote form with JavaScript before so it was first thing I came u
Thank you , Frederick
On May 1, 1:58 pm, Frederick Cheung
wrote:
> On May 1, 8:56 pm, Bruce Wilson wrote:
>
> > Why would this:
>
> > $ rails generate migration add_user_id_to_articles user_id:integer
>
> > return this:
>
> > NameError: undefined local variable or method 'integer' for
> > main:O
Also, and I should have said this before, I noticed that in your
property list it looks like you're storing social security numbers
(SSN). I just want to add a friendly word of advice - encrypt them if
you can. I can see a lot of havoc happening if some hacker got his
hands on a list of unencrypt
+1 for meta_search, I <3 that thing
On May 1, 2:45 pm, Mauro wrote:
> On 1 May 2011 21:12, Carina Brito wrote:
>
> > Sorry, i went at my gemfile and i saw what i use for search is meta_search.
> > Execuse me.
>
> I'm trying meta_search now. :-)
--
You received this message because you are subs
Frederick Cheung wrote in post #996132:
> Have you checked the browser's JavaScript console for any errors? That
> last line looks suspicious to me. I would have thought $
> (value.form).submit() would suffice.
> Also I think this general approach might be built on slightly shaky
> approach - Since
On May 1, 10:24 pm, Tom DeHart wrote:
> First, a picture of what I'm doing:http://i.imgur.com/MO2o8.png
>
> A user should be able to select as many of these checkboxes and click on
> the "Vote Yes" or "Vote No" links (styled as buttons) to change their
> vote to yes or no (vote.approval = true o
First, a picture of what I'm doing: http://i.imgur.com/MO2o8.png
A user should be able to select as many of these checkboxes and click on
the "Vote Yes" or "Vote No" links (styled as buttons) to change their
vote to yes or no (vote.approval = true or vote.approval = false).
I got it working so th
On May 1, 8:56 pm, Bruce Wilson wrote:
> Why would this:
>
> $ rails generate migration add_user_id_to_articles user_id:integer
>
> return this:
>
> NameError: undefined local variable or method 'integer' for
> main:Object ???
Did you type this at the rails console rather than at the command
On 1 May 2011 21:12, Carina Brito wrote:
> Sorry, i went at my gemfile and i saw what i use for search is meta_search.
> Execuse me.
I'm trying meta_search now. :-)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group,
Isn't that what tinymce is suppose to do?
On Apr 30, 8:18 pm, heithem nouira wrote:
> Hi,
> I'm using TinyMce with Rails 3 to input rich text.
> when i enter a text into tinymce editor , the text is saved in the
> database as text so a p tag is added to the text!!.
> i need some help
> Best r
Why would this:
$ rails generate migration add_user_id_to_articles user_id:integer
return this:
NameError: undefined local variable or method 'integer' for
main:Object ???
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to th
You bring up some interesting points, so I took a look at the
database. Here is a copy of one post descripition from the database
itself. Perhaps the • are cut and pasted while the other elements are
being inserted via textile editor. That would account for this i
think. Thank you again. I like to
(Reply moved inline.)
On 1 May 2011, at 20:12, sol.manager wrote:
> On May 1, 2:33 pm, Chris Mear wrote:
>
>> On 1 May 2011, at 18:56, sol.manager wrote:
>>
>>> I have been messing with my CSS sytlesheets to fix some display
>>> issues. Specifically, messed with and elements. Now i have
>>>
Sorry, i went at my gemfile and i saw what i use for search is meta_search.
Execuse me.
2011/4/30 Mauro
> On 29 April 2011 23:50, Carina Brito wrote:
> > I use searchlogic. This gem is very easy.
> > Look this page 'https://github.com/binarylogic/searchlogic'
>
> In this asciicast
> http://asci
I think I may know the answer and it isn't CSS. I use a gem called
blavosync to sync my development database with production. I just set
up a new computer this week and used MySQL Workbench to create the
empty development database prior to synching with production. In MySQL
when you create a schema
On 1 May 2011 20:00, Marc Heiler wrote:
> The Ruby FTP library should really have an optional setter for
> specifying a non-standard port to use.
??? Have you even read the docs?
http://www.ruby-doc.org/stdlib/libdoc/net/ftp/rdoc/classes/Net/FTP.html
Search for "port"... :-/
--
You received thi
The Ruby FTP library should really have an optional setter for
specifying a non-standard port to use.
--
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 rubyon
Sorry about this mess, but I just figured it out what was really happening
and fixed it.
Rails probably always interpret the plus sign as a white space, but
everything started because I couldn't find how the authenticity_token is
sent using <%= link_to "Destroy", [@client, address], :confirm => 'A
On 1 May 2011, at 18:56, sol.manager wrote:
> I have been messing with my CSS sytlesheets to fix some display
> issues. Specifically, messed with and elements. Now i have
> noticed on a page with elements in a textile editor box, that
> the list bullet is showing up as "• " instead of "•".
>
I have been messing with my CSS sytlesheets to fix some display
issues. Specifically, messed with and elements. Now i have
noticed on a page with elements in a textile editor box, that
the list bullet is showing up as "• " instead of "•".
I am assuming this a CSS issue and not a textile or r
On Sun, May 1, 2011 at 3:36 AM, johnlucas wrote:
> Thank you for the suggestion. This is new for me and I don't have a
> strong experience with Ajax and JQuery, I just played around a bit
> with them in some php project.
>
> Could you point me to a comprehensive guide or tutorial?
>
Well, first t
On 1 May 2011 17:02, David Mr. wrote:
> Colin Law wrote in post #996041:
>>
>> So if you put a break point immediately after
>> setax = setA.split(" ")
>> then setax is nil, but if you then (while still broken) do
>> setax=setA.split(" ") then setax gets a value.
>> If so I find that most remarkab
Colin Law wrote in post #996041:
>
> So if you put a break point immediately after
> setax = setA.split(" ")
> then setax is nil, but if you then (while still broken) do
> setax=setA.split(" ") then setax gets a value.
> If so I find that most remarkable.
>
> You have not said how setax and setbx a
On 1 May 2011 10:11, John shelfer wrote:
>
>
> On May 1, 4:12 am, Colin Law wrote:
>> On 1 May 2011 05:52, amrit pal pathak wrote:
>>> ...
>> Am I the only one thinking that this poster is winding us up?
> Not at all.He is new to Rails So I think we should help him
> to
> resolve
On 1 May 2011, at 15:48, Ralph Shnelvar wrote:
> Chris,
>
> Sunday, May 1, 2011, 6:52:39 AM, you wrote:
>
> CM> On 1 May 2011, at 13:37, Ralph Shnelvar wrote:
>
>>> It has to be simple ... but I can't find it.
>>>
>>> Where in the _controller_ does the anchor show up?
>>>
>>>
>>>
>>> If the
Chris,
Sunday, May 1, 2011, 6:52:39 AM, you wrote:
CM> On 1 May 2011, at 13:37, Ralph Shnelvar wrote:
>> It has to be simple ... but I can't find it.
>>
>> Where in the _controller_ does the anchor show up?
>>
>>
>>
>> If the link_to is to xyz#abc ...
>>
>> I end up at the right dispatch fu
I'm unable to figure out how to submit specific data to a Rails update()
method via the jQuery submit() method. This is the code snippet I'm
working with:
<% form_for(vote, :remote => true) do |f| %>
<%= check_box_tag "selection", vote.id %>
<% end %>
...
<%= link_to 'Vote Yes', ballots_pat
On 1 May 2011, at 13:37, Ralph Shnelvar wrote:
> It has to be simple ... but I can't find it.
>
> Where in the _controller_ does the anchor show up?
>
>
>
> If the link_to is to xyz#abc ...
>
> I end up at the right dispatch function
>
> def xyz
> # I get here
> end
>
> But I cannot find w
On May 1, 5:11 am, John shelfer wrote:
> On May 1, 4:12 am, Colin Law wrote:
>
>
>
>
>
>
>
> > On 1 May 2011 05:52, amrit pal pathak wrote:
>
> > > ...
> > > Showing /home/amrit/final/app/views/posts/index.html.erb where line #4
> > > raised:
> > > undefined method `posts_path' for #<#:0xb67f5
It has to be simple ... but I can't find it.
Where in the _controller_ does the anchor show up?
If the link_to is to xyz#abc ...
I end up at the right dispatch function
def xyz
# I get here
end
But I cannot find where to find abc.
--
Posted via http://www.ruby-forum.com/.
--
You receiv
On May 1, 4:12 am, Colin Law wrote:
> On 1 May 2011 05:52, amrit pal pathak wrote:
>
> > ...
> > Showing /home/amrit/final/app/views/posts/index.html.erb where line #4
> > raised:
> > undefined method `posts_path' for #<#:0xb67f5560>
>
> Amrit I cannot believe that you are asking that question.
On 1 May 2011 09:12, Colin Law wrote:
> Amrit I cannot believe that you are asking that question.
>
> Am I the only one thinking that this poster is winding us up?
Since post 1 I've thought you're banging your head against a wall :-/
Stuff like "this is not a [h]ard and fast rule that it must be
Thank you for the suggestion. This is new for me and I don't have a
strong experience with Ajax and JQuery, I just played around a bit
with them in some php project.
Could you point me to a comprehensive guide or tutorial?
On Apr 26, 8:29 pm, David Kahn wrote:
> On Tue, Apr 26, 2011 at 8:45 AM,
On Sun, May 1, 2011 at 4:57 AM, Frederick Cheung wrote:
>
>
> On 1 May 2011, at 03:20, Gustavo de Sá Carvalho Honorato<
> gustavohonor...@gmail.com> wrote:
>
> Hi,
>
> I'm starting to use Test::Unit to create unit tests for my Rails
> Applications/Plugins. I don't have much experience in Ruby Uni
On 1 May 2011 05:52, amrit pal pathak wrote:
> ...
> Showing /home/amrit/final/app/views/posts/index.html.erb where line #4
> raised:
> undefined method `posts_path' for #<#:0xb67f5560>
Amrit I cannot believe that you are asking that question. Look back
through your questions and you will see yo
On 30 April 2011 22:38, David Mr. wrote:
> Colin Law wrote in post #995978:
>> On 30 April 2011 18:00, David Mr. wrote:
So gamma[:C] is not a collection. Have a look at the Rails Guide on
>>>
>>>
>>> attr_accessor :setA, :setB, :setAList, :setBList, :google
>>
>> First I would stick to
On 1 May 2011, at 03:20, Gustavo de Sá Carvalho
Honorato wrote:
> Hi,
>
> I'm starting to use Test::Unit to create unit tests for my Rails
> Applications/Plugins. I don't have much experience in Ruby Unit Testing. The
> problem is that the output report is very simple and it is very difficu
Hi All,
Am new to rails ,am using fbgraph gem in rails 3 having the follwoing error
{
"error": {
"type": "OAuthException",
"message": "Invalid redirect_uri: Given URL is not allowed by
the Application configuration."
}
}
In my controller,
def start
redirect_to client.a
40 matches
Mail list logo