Has anyone any thoughts on logging in a user to a rails app after the user
logs in via the traditional form mechanism with devise?
My current thought line:
override devise sessions_controller with a custom method for using
user.auth_token object to validate and login the given user if the
au
Being that you've got nested resources the form is looking for the @user info
too, define the user in your address controller actions too and then pass it
into your form like so: ([@user, @address]). That should get you on the right
path. Try a Google of 'rails form_for nested resources' and see
t; On 18 October 2016 at 14:27, Chris Vukin >
> wrote:
>
>> thank you for your reply Colin, here's what we're trying to do:
>>
>> The app has a farm model and each farm has nested plant models, nested
>> under each plant is a feeding model. Say a farm h
sday, October 18, 2016 at 3:08:43 AM UTC-4, Colin Law wrote:
>
> On 18 October 2016 at 00:29, Chris Vukin >
> wrote:
>
>> Hello, I'm wondering about how to accomplish saving the same nested form
>> on an entire collection of objects that the form is nested under
Hello, I'm wondering about how to accomplish saving the same nested form on
an entire collection of objects that the form is nested under.. I'm not
finding much when googling around, is this something that is possible with
rails?
Thanks for any thoughts!
--
You received this message because y
Chris Oliver has a nice vid on this:
https://gorails.com/episodes/file-uploads-with-refile Can you post any errors
you are getting? I've also found Chris to be very responsive on his vids so you
could also try posting a query to him on this vid comments section..
--
You received this message
There is also refile...
https://github.com/refile/refile#multiple-file-uploads
On Sunday, June 12, 2016 at 3:26:55 PM UTC-4, Ruby-Forum.com User wrote:
>
> Hi all,
>
> This is my first post, so I'll start by just saying hello, as I imagine
> I will be spending a lot of time on this forum in the
this looks like a very interesting project, I've been having some issues
with assigning associations thru a form on an related type of app, getting
a form that crates an polymorphic association when a provider creates an
order and such. would you be up for an email chat on the topic by chance?
Nice little run thru, thanks for posting. Is this something you plan on
launching to production? How will you be handling security? Will patients
be able to login and view their chart?
I've been working on learning rails along with android dev for some medical
projects, my background is in nur
9 matches
Mail list logo