Ace S. wrote in post #1069974:
> Hi manoj,
>
> I am replying to a message that you posted on the ruby-forum but didn't
> show up in google groups.
>
> Anyway, did you put
>
> gem "dynamic_form"
>
>
>
> in your Gemfile?
> And then after that, run 'bundle install' ?
> Please do so and try again.
>
>
Oops, I just realized that javascript code executing always on client's
browser, and any request will have 'REMOTE_ADDR' = client's IP. Thus, there is
only approach to use some kind of authenticity_token.
On 24.07.2012, at 23:29, Hassan Schroeder wrote:
> On Tue, Jul 24, 2012 at 12:09 PM, Val
On Tue, Jul 24, 2012 at 12:09 PM, Valery Kvon wrote:
> If the javascript runtime could do it… :)
JavaScript? Is this executing on the client or on the server?
--
Hassan Schroeder hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
You receiv
I've never done something like this before (routing to application
controller), but weeks ago I saw this project in this mail list
https://github.com/devton/whatismyvideoid
and in its routes file he made something like you mentioned.
Maybe you can use it as an example.
Javier Q.
--
You receive
If the javascript runtime could do it… :)
On 24.07.2012, at 23:02, Hassan Schroeder wrote:
> On Tue, Jul 24, 2012 at 10:49 AM, Valery Kvon wrote:
>
>> I want the path '\quicksearch' to be exactly local (available from
>> application itself only), any external requests must be ignored.
>
> Th
On Tue, Jul 24, 2012 at 10:49 AM, Valery Kvon wrote:
> I want the path '\quicksearch' to be exactly local (available from
> application itself only), any external requests must be ignored.
Then why even bother to access it through a controller?
--
Hassan Schroeder has
Hi everybody!
Does anyone know the best approach to create local-only path?
code begin
MyApp::Application.routes.draw do
match 'quicksearch' => 'application#quicksearch'
end
===code end===
I want the path '\quicksearch' to be exactly local (available from application
itself only), a
Hello everyone!
I just realized I hadn't alerted the community at large via the mailing
lists of our event this year. MagicRuby 2012 (presented by GitHub) will be
happening on October 5 and 6, 2012 inside Disney's Hollywood Studios Theme
Park® at the Premier Theatre. Our registration is open now
Hi All
It's been just over two weeks since LSRC 6 tickets
went on sale, and it is already over half full.
And now, it's just 16 days to go for LSRC 6.
That's right, two weeks and two days from now
you can see Laurent Sansonetti of RubyMotion fame,
Uncle Bob Martin, and, best of all, Matz!
The
Sebastjan H. wrote in post #1069964:
> Norbert Melzer wrote in post #1069957:
>> Try again without the asterisks, they were for formatting in the mail
>> you
>> copied from...
>> Am 23.07.2012 15:29 schrieb "Sebastjan H." :
>
> Did you mean:
>
> sebah@sebah-laptop:~$ `which ruby` --version
> ruby 1
Hassan Schroeder wrote in post #1069990:
> On Tue, Jul 24, 2012 at 6:03 AM, lalalalala pqpqpqpqpq
> wrote:
>> I got it to work, thanks for the help.
>
> It would be appropriate to share the solution here, so the next person
> researching the same question finds it...
>
> --
> Hassan Schroeder
On Tue, Jul 24, 2012 at 6:03 AM, lalalalala pqpqpqpqpq
wrote:
> I got it to work, thanks for the help.
It would be appropriate to share the solution here, so the next person
researching the same question finds it...
--
Hassan Schroeder hassan.schroe...@gmail.com
http://
solved
changed login.html to login.erb
--
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 unsubscribe from this group, se
I got it to work, thanks for the help.
--
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 unsubscribe from this group, sen
Is anyone working with rails 3.2.X and authlogic, specifically rails 3.2.6
and authlogic 3.2.3? I am having an issue where the session is being set to
nil only on google chrome and mobile safari, all other browsers I am able
to log into my app just fine. I am able to log into production which
I am seeking a Ruby on Rails Developer for a direct hire opening that I
have available in Raleigh, NC. Need 2+ years experience with Rails. If you
or someone you know may be interested, please send your current resume to
bethdic...@resolution-tech.com for consideration. We do offer excellent
My application, a very simple general ledger, that worked very well until
June 26 does not work any longer. It is used under Ubuntu 12.04 and I
believe there was a Ruby update after that.
What happens?
When I try to start the appIication I get the following output in my web
browser:
ActionDis
Hi,
if in rails 2.3 we can use this syntax
map.connect ' ', :controller => 'people', :action => 'action'
the result it will simplify from
http://localhost:3000/people/action to http://localhost:3000/
but in rails 3.2, we can't use map.connect right?
i try to use :
match ' people/action ' => '
>
> i also have the same problem..
> i use this coding:
> match 'pages/:id/show2' => 'pages#show2', as: 'shows'
>
> the result, i can only generate for url or path used.. for example .. <%=
> link_to 'show2', shows_path(page) %>
> and the url
> i also try to use this:
> root to: 'pages#show',
Hi manoj,
I am replying to a message that you posted on the ruby-forum but didn't
show up in google groups.
Anyway, did you put
gem "dynamic_form"
in your Gemfile?
And then after that, run 'bundle install' ?
Please do so and try again.
cheers
ace
--
You received this message because you
I have installed the latest version of rails and jruby. I have copied
all my files from rails 2.3.5 version and am trying to bring all to work
in this version
I am facing this problem now on launch http://localhost:3000/
Missing template home/login, application/login,
active_scaffold_overrides/lo
Norbert Melzer wrote in post #1069957:
> Try again without the asterisks, they were for formatting in the mail
> you
> copied from...
> Am 23.07.2012 15:29 schrieb "Sebastjan H." :
Did you mean:
sebah@sebah-laptop:~$ `which ruby` --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
I am having problem retrieving the value for variable
request.session_options[:id] from my controller. Though the same returns a
proper value when accessed through a view. I am not able to understand why
it is happening.
--
You received this message because you are subscribed to the Google Gro
Hi,
I need to create an app where one user cannot login using multiple
browsers. As soon as he does, the previous one logs out.
I have a user table with a field named "current_sign_in_token' to store the
session key generated by one login.
But I am not able to retrieve the session key. Actuall
Try again without the asterisks, they were for formatting in the mail you
copied from...
Am 23.07.2012 15:29 schrieb "Sebastjan H." :
> lionel first-developer wrote in post #1069780:
> > Try this as well :
> >
> > *rvm use ruby-1.9.3-p125*
> >
> > and retry :)
> >
>
> nope, still the same error as
Ace S. wrote in post #1069767:
> Dear sirs,
>
> I dont't think the addition of :message => "can't be blank" does make a
> difference.\
>
> Validations have their own strings already packed, in en.yml in the
> active_model gem. In the console (rails c) you can try it out (assuming
> your model is na
This helped me understand syntax and strategy.
http://www.codeschool.com/courses/testing-with-rspec
On Monday, July 23, 2012 11:38:58 AM UTC-4, John Merlino wrote:
>
> I am struggling somewhat with testing. And I would like to know a
> comprehensive reference on rails unit test. I find the railsc
Thanks a lot for those great tips !
--
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 unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@google
28 matches
Mail list logo