Question: As title says, why does Rails prefer to use the @params variable inside of a Controller action when you are responding to the action instead of passing the individual parameters through the function arguments when we call the function?

Other frameworks use this (i.e, ASP MVC) and I was just wondering if there was a reason for that design decision, because it doesn't seem very intuitive.

Ie. Why does Rails do

```
def index
    name = params[:name]
end

```

Instead of

```
def index(name)
end

```

Answer: 
Please try installing m2eclipse plugin (if you haven't done so yet) and nextly convert project to use maven behaviour through right clicking on project and choosing "convert to maven" option.
```
mvn eclipse:eclipse -Dwtpversion=2.0 -e clean install

```

run this instead. This builds your project by resolving dependencies